Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { EtcdConf clientv3.Config EtcdReadTimeOut time.Duration LocalConfName string UseLocal bool WatchRootName []string }
func (*Options) UseLocalConf ¶
type RegisterOptions ¶
type RegisterOptions func(*Options)
func SetEtcdConf ¶
func SetEtcdConf(conf clientv3.Config) RegisterOptions
func SetEtcdReadTimeOut ¶
func SetEtcdReadTimeOut(t time.Duration) RegisterOptions
func SetLocalConfName ¶
func SetLocalConfName(name string) RegisterOptions
func SetUseLocal ¶
func SetUseLocal() RegisterOptions
func SetWatchRootName ¶
func SetWatchRootName(name []string) RegisterOptions
Click to show internal directories.
Click to hide internal directories.