kk_config

package
v0.0.0-...-c6fb3e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

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

func (*ConfigHub) Check

func (c *ConfigHub) Check()

func (*ConfigHub) Close

func (c *ConfigHub) Close()

func (*ConfigHub) Init

func (c *ConfigHub) Init()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL