Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
func WithAuthOpt ¶
WithAuthOpt returns a option that authentication by usernane and password.
func WithDialTimeoutOpt ¶
WithDialTimeoutOpt returns a option set dialTimeout
func WithTLSOpt ¶
type Registry ¶
func NewEtcdRegistry ¶
type ResolverBuilder ¶
type ResolverBuilder interface {
Build(target string, update UpdateFunc) (Resolver, error)
}
type UpdateFunc ¶
type WatchChannel ¶
type WatchChannel <-chan []*Update
type WatchResolver ¶ added in v0.0.5
type WatchResolver interface { }
type WatchResolverBuilder ¶ added in v0.0.5
type WatchResolverBuilder interface {
Build(target string, update UpdateFunc) (WatchResolver, error)
}
func NewEtcdWatchResolverBuilder ¶
func NewEtcdWatchResolverBuilder(c *clientv3.Client) (WatchResolverBuilder, error)
Click to show internal directories.
Click to hide internal directories.