Documentation ¶
Index ¶
- Variables
- type DSyncOption
- type DSyncOptions
- type WithOption
- func (WithOption) Default() DSyncOption
- func (WithOption) EtcdClient(cli *clientv3.Client) DSyncOption
- func (WithOption) EtcdConfig(config *clientv3.Config) DSyncOption
- func (WithOption) FastAddresses(addrs ...string) DSyncOption
- func (WithOption) FastAuth(username, password string) DSyncOption
- func (WithOption) FastSecure(secure bool) DSyncOption
- func (WithOption) FastTLSConfig(conf *tls.Config) DSyncOption
- func (WithOption) KeyPrefix(prefix string) DSyncOption
- func (WithOption) WatchChanSize(size int) DSyncOption
Constants ¶
This section is empty.
Variables ¶
View Source
var Install = definePlugin.Install
Install 安装插件
View Source
var Uninstall = definePlugin.Uninstall
Uninstall 卸载插件
Functions ¶
This section is empty.
Types ¶
type DSyncOption ¶ added in v0.1.14
type DSyncOption func(options *DSyncOptions)
type DSyncOptions ¶ added in v0.1.14
type WithOption ¶
type WithOption struct{}
func (WithOption) Default ¶
func (WithOption) Default() DSyncOption
func (WithOption) EtcdClient ¶
func (WithOption) EtcdClient(cli *clientv3.Client) DSyncOption
func (WithOption) EtcdConfig ¶
func (WithOption) EtcdConfig(config *clientv3.Config) DSyncOption
func (WithOption) FastAddresses ¶
func (WithOption) FastAddresses(addrs ...string) DSyncOption
func (WithOption) FastAuth ¶
func (WithOption) FastAuth(username, password string) DSyncOption
func (WithOption) FastSecure ¶
func (WithOption) FastSecure(secure bool) DSyncOption
func (WithOption) FastTLSConfig ¶
func (WithOption) FastTLSConfig(conf *tls.Config) DSyncOption
func (WithOption) KeyPrefix ¶
func (WithOption) KeyPrefix(prefix string) DSyncOption
func (WithOption) WatchChanSize ¶
func (WithOption) WatchChanSize(size int) DSyncOption
Click to show internal directories.
Click to hide internal directories.