Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Module for fx. Module = fx.Options( fx.Provide(NewConfigurator), marshaller.Module, config.ConfigModule, fx.Provide(casbinConfig), fx.Provide(keyConfig), fx.Provide(v1ClientConfig), fx.Provide(v1ServerConfig), fx.Provide(healthConfig), ) )
Functions ¶
func NewConfigurator ¶
func NewConfigurator(i *cmd.InputConfig) (config.Configurator, error)
NewConfigurator for config.
Types ¶
type Config ¶
type Config struct { Key key.Config `yaml:"key" json:"key" toml:"key"` Casbin casbin.Config `yaml:"casbin" json:"casbin" toml:"casbin"` Client client.Config `yaml:"client" json:"client" toml:"client"` Server server.Config `yaml:"server" json:"server" toml:"server"` Health health.Config `yaml:"health" json:"health" toml:"health"` config.Config `yaml:",inline" json:",inline" toml:",inline"` }
Config for the service.
Click to show internal directories.
Click to hide internal directories.