You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
465 B

package auth
import (
"github.com/dimaskiddo/go-whatsapp-multidevice-rest/pkg/env"
)
var AuthBasicUsername string
var AuthBasicPassword string
var AuthJWTSecret string
var AuthJWTExpiredHour int
func init() {
AuthBasicUsername, _ = env.GetEnvString("AUTH_BASIC_USERNAME")
AuthBasicPassword, _ = env.GetEnvString("AUTH_BASIC_PASSWORD")
AuthJWTSecret, _ = env.GetEnvString("AUTH_JWT_SECRET")
AuthJWTExpiredHour, _ = env.GetEnvInt("AUTH_JWT_EXPIRED_HOUR")
}