package
Version:
v0.0.0-...-f2e39e4
Opens a new window with list of versions in this module.
Published: Apr 10, 2021
License: MIT
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Auth struct {
Audience string `required:"true"`
Issuer string `required:"true"`
PublicKey string `required:"true"`
}
type AuthGen struct {
Auth
PrivateKey string `required:"true"`
}
func MustGetConfiguration() *Config
type DBCache struct {
TTL time.Duration `envconfig:"DB_TTL" default:"1s"`
}
type ErrorTracking struct {
DSN string `envconfig:"SENTRY_DSN" default:""`
}
type Network struct {
Port int `envconfig:"PORT" default:"80"`
}
type UserDirectory struct {
Domain string
ClientID string `envconfig:"CLIENT_ID"`
ClientSecret string `envconfig:"CLIENT_SECRET"`
CacheTTL time.Duration `envconfig:"CLIENT_TTL" default:"5m"`
Connection string
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.