Documentation ¶
Index ¶
- func Get() *viper.Viper
- func GetDatabaseURI() string
- func GetJWTEncryptionKey() []byte
- func GetOAuthConfig() *oauth2.Config
- func GetRedisConfig() *redis.Options
- func GetSessionOptions() sessions.Options
- func GetSessionSecret() []byte
- func Init() (*viper.Viper, error)
- func InitFrom(path string) (*viper.Viper, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDatabaseURI ¶
func GetDatabaseURI() string
func GetJWTEncryptionKey ¶
func GetJWTEncryptionKey() []byte
func GetOAuthConfig ¶
func GetRedisConfig ¶
func GetRedisConfig() *redis.Options
func GetSessionOptions ¶
func GetSessionSecret ¶
func GetSessionSecret() []byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.