Documentation ¶
Overview ¶
Package etcd implements service Registry and Discovery using etcd.
Index ¶
- Constants
- type Option
- type Registry
- func (r *Registry) Deregister(ctx context.Context, service *gsvc.Service) error
- func (r *Registry) Register(ctx context.Context, service *gsvc.Service) error
- func (r *Registry) Search(ctx context.Context, in gsvc.SearchInput) ([]*gsvc.Service, error)
- func (r *Registry) Watch(ctx context.Context, key string) (gsvc.Watcher, error)
Constants ¶
View Source
const (
DefaultKeepAliveTTL = 10 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.