localname

package
v0.0.0-...-93b0e25 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConn

func GetConn(schema, serviceName string, etcdAddr []string) (*grpc.ClientConn, error)

func GetPrefix

func GetPrefix(schema, serviceName string) string

"%s:///%s/"

func Int32ToString

func Int32ToString(i int32) string

func OperationIDGenerator

func OperationIDGenerator() string

Types

type Resolver

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

func NewResolver

func NewResolver(schema, serviceName string, target []string) (*Resolver, error)

func (*Resolver) Build

func (*Resolver) Close

func (r1 *Resolver) Close()

func (*Resolver) ResolveNow

func (r1 *Resolver) ResolveNow(rn resolver.ResolveNowOptions)

func (*Resolver) Scheme

func (r *Resolver) Scheme() string

Jump to

Keyboard shortcuts

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