Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TimeToLive = timeToLive
Functions ¶
func NewBuilder ¶
func NewBuilder(scheme string) *builder
Types ¶
type Facade ¶
type Facade struct {
// contains filtered or unexported fields
}
func (Facade) Client ¶
func (f Facade) Client() internal.EtcdClient
func (Facade) Monitor ¶
func (f Facade) Monitor(key string, l FacadeListener)
type FacadeListener ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func NewPublisher ¶
func NewPublisher(endpoints []string, key, value string, opts ...PublisherOption) (*Publisher, error)
func (*Publisher) Deregister ¶
type PublisherOption ¶
type PublisherOption func(client *Publisher)
func WithId ¶
func WithId(id int64) PublisherOption
type Resolver ¶
implements grpc.naming.Resolver
func (*Resolver) ResolveNow ¶
func (r *Resolver) ResolveNow(opts resolver.ResolveNowOptions)
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
func NewSubscriber ¶
func NewSubscriber(endpoints []string, key string, opts ...SubOption) (*Subscriber, error)
func (*Subscriber) AddListener ¶
func (s *Subscriber) AddListener(listener func())
func (*Subscriber) Values ¶
func (s *Subscriber) Values() []string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.