resolver

package
v0.7.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option int
const (
	Add Option = iota
	Delete
)

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

func NewResolver

func NewResolver(client *clientv3.Client, target string, cc gresolver.ClientConn) *Resolver

func (*Resolver) Close

func (r *Resolver) Close()

func (*Resolver) ResolveNow

func (r *Resolver) ResolveNow(gresolver.ResolveNowOptions)

type Update

type Update struct {
	Op   Option
	Key  string
	Addr string
}

type WatchChan

type WatchChan chan []*Update

type YhkjBuilder

type YhkjBuilder struct {
	// contains filtered or unexported fields
}

func NewYhkjBuilder

func NewYhkjBuilder(client *clientv3.Client) *YhkjBuilder

func (YhkjBuilder) Build

func (YhkjBuilder) Scheme

func (b YhkjBuilder) Scheme() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL