Help us shape the future of Go! Take the 2026 Go Developer Survey

resolver

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDirectTarget

func BuildDirectTarget(endpoints []string) string

BuildDirectTarget returns a string that represents the given endpoints with direct schema.

func BuildDiscovTarget

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

BuildDiscovTarget returns a string that represents the given endpoints with discov schema. The format is etcd:///host1:port,host2:port?key=<etcd-key> to avoid placing comma-separated hosts in the URI authority, which Go 1.26+ rejects per RFC 3986.

func Register

func Register()

Register registers schemes defined zrpc. Keep it in a separated package to let third party register manually.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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