Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadJsonConfig ¶
func LoadYamlConfig ¶
Types ¶
type Config ¶
type Config struct { Env goio.Environment `yaml:"env"` Server struct { Addr string `yaml:"addr"` Name string `yaml:"name"` } `yaml:"server"` Prometheus prometheusx.Config `yaml:"prometheus"` MongoDB gomongo.Config `yaml:"mongodb"` Mysql gogorm.Config `yaml:"mysql"` Postgres gogorm.Config `yaml:"postgres"` Sqlite gogorm.Config `yaml:"sqlite"` Clickhouse1 gogorm.Config `yaml:"clickhouse1"` Redis goredis.Config `yaml:"redis"` Kafka gokafka.Config `yaml:"kafka"` Clickhouse goclickhouse.Config `yaml:"clickhouse"` Es goes.Config `yaml:"es"` Etcd goetcd.Config `yaml:"etcd"` FeiShu string `yaml:"feishu"` }
Click to show internal directories.
Click to hide internal directories.