resolver

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//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     = 2
)

Functions

func BuildDirectTarget

func BuildDirectTarget(endpoints []string) string

func BuildDiscovTarget

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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