Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Scheme is the scheme of discovery address
Scheme = "grpc"
)
Variables ¶
This section is empty.
Functions ¶
func RegisterTarget ¶
RegisterTarget will register grpc discovery mock address flag
Types ¶
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.ResolveNowOptions)
ResolveNow is a noop for Resolver.
Click to show internal directories.
Click to hide internal directories.