Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewConfigurator), marshaller.Module, config.ConfigModule, fx.Provide(healthConfig), fx.Provide(generatorConfig), fx.Provide(mapperConfig), fx.Provide(v1ClientConfig), )
Module for fx.
Functions ¶
func NewConfigurator ¶
func NewConfigurator(i *cmd.InputConfig) (config.Configurator, error)
NewConfigurator for config.
Types ¶
type Config ¶
type Config struct { Client client.Config `yaml:"client" json:"client" toml:"client"` Health health.Config `yaml:"health" json:"health" toml:"health"` Generator generator.Config `yaml:"generator" json:"generator" toml:"generator"` Mapper mapper.Config `yaml:"mapper" json:"mapper" toml:"mapper"` config.Config `yaml:",inline" json:",inline" toml:",inline"` }
Config for the service.
Click to show internal directories.
Click to hide internal directories.