Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfCenter ¶
type ConfCenter struct {
// contains filtered or unexported fields
}
ConfCenter discover configure changed. get, update configures
func NewConfCenter ¶
func NewConfCenter(serv, name string) *ConfCenter
NewConfCenter create a ConfCenter object
func (*ConfCenter) GetConfigureCxt ¶
func (cc *ConfCenter) GetConfigureCxt() []byte
GetConfigureCtx fetch the configure
func (*ConfCenter) GetErrorCxt ¶
func (cc *ConfCenter) GetErrorCxt() map[string]errors.ErrorCode
GetErrorCxt fetch the language packages
func (*ConfCenter) GetLanguageResCxt ¶
func (cc *ConfCenter) GetLanguageResCxt() map[string]language.LanguageMap
GetLanguageResCxt fetch the language packages
func (*ConfCenter) Start ¶
func (cc *ConfCenter) Start() error
Start the configure center module service
Click to show internal directories.
Click to hide internal directories.