Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuilder ¶
func NewBuilder(client *clientv3.Client, metaData interface{}) (grpcresolver.Builder, error)
NewBuilder creates a Resolver builder.
Types ¶
type MetaSelector ¶
func NewMetaSelector ¶
func NewMetaSelector() *MetaSelector
func (MetaSelector) Select ¶
func (ms MetaSelector) Select(addr grpcresolver.Address) (bool, error)
func (MetaSelector) WithKV ¶
func (ms MetaSelector) WithKV(k, v string)
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func NewResolver ¶
func (*Resolver) ResolveNow ¶
func (r *Resolver) ResolveNow(grpcresolver.ResolveNowOptions)
ResolveNow is a no-op here. It's just a hint, Resolver can ignore this if it's not necessary.
Click to show internal directories.
Click to hide internal directories.