Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCResolver ¶
type GRPCResolver struct { // Client is an initialized etcd client Client *clientv3.Client // Timeout for update/delete request. Timeout time.Duration }
GRPCResolver creates a grpc.Watcher for a target to track its resolution changes.
func (*GRPCResolver) Add ¶
func (gr *GRPCResolver) Add(target string, addr string, metadata interface{}) error
func (*GRPCResolver) Delete ¶
func (gr *GRPCResolver) Delete(target string) error
Click to show internal directories.
Click to hide internal directories.