pool

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RpcClients

type RpcClients struct {
	Clients     *sync.Map
	ClientCount *sync.Map
	KeyPrefix   string
	EtcdClient  *clientv3.Client
	// contains filtered or unexported fields
}

func NewRpcClients

func NewRpcClients(etcdConf discov.EtcdConf) *RpcClients

func (*RpcClients) GetConn

func (r *RpcClients) GetConn(symbol string) (*grpc.ClientConn, bool)

func (*RpcClients) Watch

func (r *RpcClients) Watch()

Jump to

Keyboard shortcuts

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