Versions in this module Expand all Collapse all v2 v2.0.1 Jan 22, 2022 Changes in this version + var Config = LoadConfig() + var HTTPBaseCookie http.Cookie + var NatsHost string + var NatsPort string + func RandomBase64(n int) (string, error) + func RandomBytes(n int) ([]byte, error) + type LinkToken struct + Code string + Created int64 + ExpiresAt int64 + ID string + ModelID string + Scope string + func NewLinkToken(scope string, expired time.Duration, modelID string) (r *LinkToken, err error) + func (r *LinkToken) NewCode(expired time.Duration) (err error) + type LoadEnv []bool + func LoadConfig() *LoadEnv + func (l LoadEnv) GetEnvBool(key string, lvl string, dVal bool) bool + func (l LoadEnv) GetEnvInt(key string, lvl string, dVal int) int + func (l LoadEnv) GetEnvString(key string, lvl string, dVal string) string + func (l LoadEnv) GetEnvStringList(key string, lvl string, dVal []string) []string + func (l LoadEnv) Validate() Other modules containing this package github.com/Viva-con-Agua/vcago