Documentation ¶
Index ¶
Constants ¶
View Source
const (
// MainConfigKey is used as key of the main config
MainConfigKey = "lbc/main-config"
)
View Source
const (
// ServerConfigKeyPrefix is used to prefix server config keys
ServerConfigKeyPrefix = "lbc/server/"
)
Variables ¶
This section is empty.
Functions ¶
func NewMainConfigStorage ¶
func NewMainConfigStorage(client *clientv3.Client) storage.MainConfigStorage
NewMainConfigStorage stores the main config in etcd
func NewServerConfigStorage ¶
func NewServerConfigStorage(client *clientv3.Client) storage.ServerConfigStorage
NewServerConfigStorage returns a ServerConfigStorage working on etcd v3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.