config

package
v3.0.6-alpha+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2018 License: MIT Imports: 8 Imported by: 0

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 string) *ConfCenter

NewConfCenter create a ConfCenter object

func (*ConfCenter) GetConfigureCxt

func (cc *ConfCenter) GetConfigureCxt() []byte

GetConfigureCtx fetch the configure

func (*ConfCenter) GetLanguageCxt

func (cc *ConfCenter) GetLanguageCxt() map[string]errors.ErrorCode

GetLanguageCxt fetch the language packages

func (*ConfCenter) Start

func (cc *ConfCenter) Start() error

Start the configure center module service

func (*ConfCenter) Stop

func (cc *ConfCenter) Stop() error

Stop the configure center

Jump to

Keyboard shortcuts

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