Documentation ¶
Index ¶
- type Config
- func (p *Config) Delete(key string) error
- func (p *Config) Get(key string) ([]byte, error)
- func (p *Config) GetJson(key string, value interface{}) error
- func (p *Config) GetPb(key string, value proto.Message) error
- func (p *Config) ListPrefix(prefix string) ([]string, error)
- func (p *Config) OnChanged(logic func(item *core.ConfigItem, eventType EventType))
- func (p *Config) Set(key string, value []byte) error
- func (p *Config) SetJson(key string, value any) error
- func (p *Config) SetPb(key string, value proto.Message) error
- type EventType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.