grpc

package
v1.1.23 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRemoteConn added in v1.1.13

func NewRemoteConn(name string, addr string, options ...RemoteOption) (*grpc.ClientConn, error)

Types

type RemoteConn added in v1.1.13

type RemoteConn struct {
	// contains filtered or unexported fields
}

type RemoteOption added in v1.1.13

type RemoteOption func(*RemoteConn) error

func OptConnTimeout added in v1.1.14

func OptConnTimeout(d int64) RemoteOption

func OptEtcdDiscovery added in v1.1.13

func OptEtcdDiscovery(addr string) RemoteOption

type WeightBalance

type WeightBalance struct {
	// contains filtered or unexported fields
}

func (*WeightBalance) Build

func (*WeightBalance) Name

func (b *WeightBalance) Name() string

func (*WeightBalance) Pick

Jump to

Keyboard shortcuts

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