Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Scheme is the scheme of discovery address
Scheme = "grpc"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
Builder is also a resolver builder. It's build() function always returns itself.
type MD ¶
MD is context metadata for balancer and resolver.
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver watches for the updates on the specified target. Updates include address updates and service config updates.
func (*Resolver) ResolveNow ¶
func (r *Resolver) ResolveNow(o resolver.ResolveNowOption)
ResolveNow is a noop for Resolver.
Click to show internal directories.
Click to hide internal directories.