srad

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 19 Imported by: 0

README

SRAD

SARD: Service Register and Discover with EtcD

Usage

Please see file srad_test.go.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrConnClosed = errors.New("grpc: conn closed")
)
View Source
var (
	ErrNoPickerResult = errors.New("picker: no result")
)

Functions

func Discover

func Discover(scheme, service string, endpoints []string) (*grpc.ClientConn, error)

func Register

func Register(ctx context.Context, scheme, service, host string, port int, weight int64, endpoints []string) (*etcdRegistry, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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