Documentation ¶
Index ¶
- type ConfigMgr
- func (confMgr *ConfigMgr) BuildConfigResponse() *rkcypb.ConfigReadResponse
- func (confMgr *ConfigMgr) GetBool(key string) (bool, bool)
- func (confMgr *ConfigMgr) GetComplexBytes(msgType string, key string) ([]byte, bool)
- func (confMgr *ConfigMgr) GetComplexMsg(msgType string, key string) (proto.Message, bool)
- func (confMgr *ConfigMgr) GetFloat64(key string) (float64, bool)
- func (confMgr *ConfigMgr) GetString(key string) (string, bool)
- func (confMgr *ConfigMgr) SetBool(key string, val bool)
- func (confMgr *ConfigMgr) SetComplexBytes(msgType string, key string, val []byte)
- func (confMgr *ConfigMgr) SetComplexMsg(msgType string, key string, msg proto.Message)
- func (confMgr *ConfigMgr) SetFloat64(key string, val float64)
- func (confMgr *ConfigMgr) SetString(key string, val string)
- type ConfigMgrRdr
- func (rdr *ConfigMgrRdr) BuildConfigResponse() *rkcypb.ConfigReadResponse
- func (rdr *ConfigMgrRdr) GetBool(key string) (bool, bool)
- func (rdr *ConfigMgrRdr) GetComplexBytes(msgType string, key string) ([]byte, bool)
- func (rdr *ConfigMgrRdr) GetComplexMsg(msgType string, key string) (proto.Message, bool)
- func (rdr *ConfigMgrRdr) GetFloat64(key string) (float64, bool)
- func (rdr *ConfigMgrRdr) GetString(key string) (string, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMgr ¶
type ConfigMgr struct {
// contains filtered or unexported fields
}
func NewConfigMgr ¶
func (*ConfigMgr) BuildConfigResponse ¶
func (confMgr *ConfigMgr) BuildConfigResponse() *rkcypb.ConfigReadResponse
func (*ConfigMgr) GetComplexBytes ¶
func (*ConfigMgr) GetComplexMsg ¶
func (*ConfigMgr) SetComplexBytes ¶
func (*ConfigMgr) SetComplexMsg ¶
func (*ConfigMgr) SetFloat64 ¶
type ConfigMgrRdr ¶
type ConfigMgrRdr struct {
// contains filtered or unexported fields
}
func NewConfigMgrRdr ¶
func NewConfigMgrRdr(mgr *ConfigMgr) *ConfigMgrRdr
func (*ConfigMgrRdr) BuildConfigResponse ¶
func (rdr *ConfigMgrRdr) BuildConfigResponse() *rkcypb.ConfigReadResponse
func (*ConfigMgrRdr) GetComplexBytes ¶
func (rdr *ConfigMgrRdr) GetComplexBytes(msgType string, key string) ([]byte, bool)
func (*ConfigMgrRdr) GetComplexMsg ¶
func (*ConfigMgrRdr) GetFloat64 ¶
func (rdr *ConfigMgrRdr) GetFloat64(key string) (float64, bool)
Click to show internal directories.
Click to hide internal directories.