Documentation ¶
Index ¶
- Variables
- func DeleteConfig(etcdcli etcd.Client, key string) error
- func GetConfig(etcdcli etcd.Client, key string) (interface{}, interface{}, error)
- func OnUpdate(etcdCli etcd.Client, key string, fn func(val string), id ...interface{})
- func OnUpdateIFace(etcdCli etcd.Client, key string, fn func(val interface{}), id ...interface{})
- func OnUpdateTree(etcdCli etcd.Client, key string, ...)
- func Set(etcdcli etcd.KeysAPI, path, key, typ string) error
- func SetConfig(cfg string, etcdcli etcd.Client, key string) error
- func SetConfigFromMap(config map[string]interface{}, etcdcli etcd.Client, key string) error
- func SetConfigFromReader(cfg io.Reader, etcdcli etcd.Client, key string) error
- func SetKey(etcdcli etcd.Client, key string, value string) error
- type EtcdconfigG
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIndex = errors.New("Error invalid index.")
Functions ¶
func OnUpdateIFace ¶
func OnUpdateTree ¶
func SetConfigFromMap ¶
func SetConfigFromReader ¶
Types ¶
type EtcdconfigG ¶
var Goose EtcdconfigG
Click to show internal directories.
Click to hide internal directories.