Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
Types ¶
type Config ¶
type Config struct { MaxRetry int `json:"max_retry"` BigModel bigmodel.Config `json:"bigmodel" required:"true"` Postgresql PostgresqlConfig `json:"postgresql" required:"true"` MQ kafka.Config `json:"mq" required:"true"` Pool poolimpl.Config `json:"pool" required:"true"` Watcher watchimpl.Config `json:"watcher" required:"true"` }
func (*Config) ConfigItems ¶
func (cfg *Config) ConfigItems() []interface{}
type PostgresqlConfig ¶
type PostgresqlConfig struct { DB pgsql.Config `json:"db" required:"true"` repositoryimpl.Config }
Click to show internal directories.
Click to hide internal directories.