Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
FileStoreRoot string `json:"file_store_root"`
DefaultDomain string `json:"default_domain"`
Logging logger.Config `json:"logging"`
CA []string `json:"ca"`
Insecure bool `json:"insecure"`
Servers map[string]ServerCredentials `json:"servers"`
}
Config holds the configuration for the app.
func NewConfig ¶
func NewConfig(configPath Path, log *zerolog.Logger, overrides Overrider, certsGenerator *certs.Generator) (*Config, error)
NewConfig creates the configuration by reading env & files
func (*Config) PoliciesRoot ¶ added in v0.0.33
func (*Config) ReplHistoryFile ¶ added in v0.0.33
type ServerCredentials ¶
Click to show internal directories.
Click to hide internal directories.