resolver

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DirectScheme direct connect to service, it is can be used in k8s or other systems without service discovery
	DirectScheme    = "direct"
	DiscovScheme    = "discov"
	EndpointSepChar = ','
)

Variables

View Source
var (
	EndpointSep = fmt.Sprintf("%c", EndpointSepChar)
	Replica     = 1
)

Functions

func BuildDirectTarget

func BuildDirectTarget(endpoints []string) string

func BuildDiscovTarget

func BuildDiscovTarget(endpoints []string, key string) string

func SetLog

func SetLog(l logger.Logger)

Types

This section is empty.

Jump to

Keyboard shortcuts

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