Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustGetBool ¶
MustGetBool will return the env variable as a bool or panic if not present
func MustGetUint32 ¶
MustGetUint32 will return the env varaible as a uint32 of panic if not present
Types ¶
type AuthProvider ¶
type AuthProvider struct { Provider string ClientKey string Secret string Domain string // If needed, like with auth0 Scopes []string }
AuthProvider defines the configuration for the Goth config
type ContextKey ¶
type ContextKey string
ContextKey defines a type for context keys shared in the app
type ServerConfig ¶
type ServerConfig struct { Port string SessionSecret string JWT JWTConfig GraphQL GQLConfig Database DBConfig AuthProviders []AuthProvider }
ServerConfig defines the configuration for the server
Click to show internal directories.
Click to hide internal directories.