client

package
v3.3.8 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdConfig added in v3.2.29

type EtcdConfig struct {
	*etcdv3.Config
}

func NewEtcdConfig added in v3.2.29

func NewEtcdConfig() *EtcdConfig

func (*EtcdConfig) Store added in v3.2.29

func (proxy *EtcdConfig) Store(client *etcdv3.Config)

type GrpcConfig added in v3.2.29

type GrpcConfig struct {
	*grpc.Config
}

Grpc ...

func NewGrpcConfig added in v3.2.29

func NewGrpcConfig() *GrpcConfig

func (*GrpcConfig) Store added in v3.2.29

func (proxy *GrpcConfig) Store(client *grpc.Config)

type Proxy

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

Proxy 代理池

func NewClientProxy added in v3.2.29

func NewClientProxy() *Proxy

NewProxy 代理池

func (*Proxy) LoadEtcd added in v3.2.29

func (proxypool *Proxy) LoadEtcd(group string) *etcdv3.Config

func (*Proxy) LoadGrpc

func (proxypool *Proxy) LoadGrpc(group string) *grpc.Config

func (*Proxy) StoreEtcd added in v3.2.29

func (proxypool *Proxy) StoreEtcd(group string, proxy *EtcdConfig)

func (*Proxy) StoreGrpc

func (proxypool *Proxy) StoreGrpc(group string, proxy *GrpcConfig)

Jump to

Keyboard shortcuts

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