Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { DatabaseDriver string `default:"postgres" split_words:"true"` DatabaseURL string `split_words:"true"` HTTPPort int `default:"8080" split_words:"true"` GRPCPort int `default:"9090" split_words:"true"` LogLevel zapcore.Level `default:"info" split_words:"true"` SessionSecret string `split_words:"true"` AuthDomain string `split_words:"true"` AuthClientID string `split_words:"true"` AuthClientSecret string `split_words:"true"` AuthCallbackURL string `split_words:"true"` }
Config describes admin server config derived from environment variables. Env var keys must be prefixed with RILL_ADMIN_ and are converted from snake_case to CamelCase. For example RILL_ADMIN_HTTP_PORT is mapped to Config.HTTPPort.
Click to show internal directories.
Click to hide internal directories.