redirector

package
v0.0.0-...-1768917 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrUnimplemented is returned if the redirector is not implemented on the
	// server. This is a dedicated error as status.Status does not support error
	// unwrapping. https://github.com/grpc/grpc-go/issues/2934
	ErrUnimplemented = errors.New("unimplemented")
)

Functions

func Resolve

func Resolve(ctx context.Context, ep string, opts ...grpc.DialOption) ([][]string, error)

Resolve will return a slice of clusters, where each cluster is a slice of targets that the client can connect to.

Types

This section is empty.

Jump to

Keyboard shortcuts

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