Documentation ¶
Overview ¶
Package resolver defines APIs for name resolution in gRPC.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is the builder for the etcd discovery resolver.
func NewBuilder ¶
NewBuilder creates and returns a Builder.
type Manager ¶
type Manager struct{}
Manager for Builder creating.
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver implements grpc resolver.Resolver, which watches for the updates on the specified target. Updates include address updates and service config updates.
func (*Resolver) ResolveNow ¶
func (r *Resolver) ResolveNow(options resolver.ResolveNowOptions)
ResolveNow will be called by gRPC to try to resolve the target name again. It's just a hint, resolver can ignore this if it's not necessary.
It could be called multiple times concurrently.
Click to show internal directories.
Click to hide internal directories.