Documentation ¶
Index ¶
- Variables
- func GetConf() configx.Conf
- func GetLogger() logx.Logger
- type Option
- type Options
- func (o *Options) InitBase(ctx context.Context, once *sync.Once) error
- func (o *Options) InitConf(ctx context.Context, once *sync.Once) error
- func (o *Options) NewConf(ctx context.Context, opt Option) error
- func (o *Options) NewConfig(dir, configType, name string) *Options
- func (o *Options) WithConfWatch(ctx context.Context, once *sync.Once)
Constants ¶
This section is empty.
Variables ¶
View Source
var Conf configx.Conf
View Source
var Logger logx.Logger
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.