Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdConfig ¶
type EtcdConfig struct { Name string // contains filtered or unexported fields }
EtcdConfig etcd config
func NewEtcdConfig ¶
func NewEtcdConfig(uri string) (etcdConfig *EtcdConfig, err error)
NewEtcdConfig new etcd config
func (*EtcdConfig) ReadConfig ¶
func (ec *EtcdConfig) ReadConfig() (data []byte, err error)
ReadConfig read config
func (*EtcdConfig) WriteConfig ¶
func (ec *EtcdConfig) WriteConfig(data []byte) (err error)
WriteConfig write config
Click to show internal directories.
Click to hide internal directories.