Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigHub ¶
type ConfigHub struct { Key string Server *kk_server.ConfigServer Pprof *kk_pprof.ConfigPprof JWT *kk_jwt.ConfigJWT Tracer *kk_stage.ConfigTracer MinIO *kk_minio.ConfigMinIO Postgres *kk_pg.ConfigPG Redis *kk_redis.ConfigRedis Additional map[string]any //add some haven't defined configs, maybe you can fire a pr/issue to add them // contains filtered or unexported fields }
ConfigHub each config will be initialized/closed with NO order config should only contain base data type, which can marshal/unmarshal to/from json and every config field should be manually defined
Click to show internal directories.
Click to hide internal directories.