resolver

package
v0.1.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DirectScheme = "direct"
	DiscovScheme = "discov"
	EndpointSep  = ","
)

Variables

View Source
var (
	Replica = 1
)

Functions

func BuildDirectTarget

func BuildDirectTarget(endpoints ...string) string

BuildDirectTarget direct:///localhost:8080,localhost:8081

func BuildDiscovTarget

func BuildDiscovTarget(service string, endpoints ...string) string

BuildDiscovTarget discov://etcd/test-service

Types

This section is empty.

Jump to

Keyboard shortcuts

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