Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewConfigurator), marshaller.Module, config.ConfigModule, fx.Provide(cfg), fx.Provide(casbinConfig), fx.Provide(keyConfig), fx.Provide(v1ClientConfig), fx.Provide(v1ServerConfig), fx.Provide(healthConfig), )
Module for fx.
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,omitempty" json:"key,omitempty" toml:"key,omitempty"` Casbin *casbin.Config `yaml:"casbin,omitempty" json:"casbin,omitempty" toml:"casbin,omitempty"` Client *client.Config `yaml:"client,omitempty" json:"client,omitempty" toml:"client,omitempty"` Server *server.Config `yaml:"server,omitempty" json:"server,omitempty" toml:"server,omitempty"` Health *health.Config `yaml:"health,omitempty" json:"health,omitempty" toml:"health,omitempty"` *config.Config `yaml:",inline" json:",inline" toml:",inline"` }
Config for the service.
Click to show internal directories.
Click to hide internal directories.