resolver

package
v0.5.11 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Zlib Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	SchemeName string
	RpcMtd     string
}

func (*Builder) Build

func (cb *Builder) Build(target builder.Target, cc builder.Connector) (builder.Resolver, error)

Build resolver.Builder interface

func (*Builder) Resolve

func (cb *Builder) Resolve(serviceNode server.Node) []builder.Address

func (*Builder) RpcMethod

func (cb *Builder) RpcMethod() string

RpcMethod resolver.Builder interface

func (*Builder) Scheme

func (cb *Builder) Scheme() string

Scheme resolver.Builder interface

type Resolver

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

func (*Resolver) Close

func (cr *Resolver) Close()

func (*Resolver) ResolveNow

func (cr *Resolver) ResolveNow()

Jump to

Keyboard shortcuts

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