etcd

package
v0.0.0-...-d2d5cb9 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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