Documentation ¶
Index ¶
- Constants
- func WithAfterFunc(cc grpc.ClientConnInterface, after func()) grpc.ClientConnInterface
- func WithAppendOptions(cc grpc.ClientConnInterface, appendOpts ...grpc.CallOption) grpc.ClientConnInterface
- func WithBeforeFunc(cc grpc.ClientConnInterface, before func()) grpc.ClientConnInterface
- func WithContextModifier(cc grpc.ClientConnInterface, ...) grpc.ClientConnInterface
- func WithoutWrapping(ctx context.Context) context.Context
- type Config
- type Conn
- type Pool
- type State
Constants ¶
View Source
const ( Unknown = State(iota) Created Online Banned Offline Destroyed )
Variables ¶
This section is empty.
Functions ¶
func WithAfterFunc ¶ added in v3.42.0
func WithAfterFunc( cc grpc.ClientConnInterface, after func(), ) grpc.ClientConnInterface
func WithAppendOptions ¶ added in v3.40.0
func WithAppendOptions(cc grpc.ClientConnInterface, appendOpts ...grpc.CallOption) grpc.ClientConnInterface
func WithBeforeFunc ¶ added in v3.42.0
func WithBeforeFunc( cc grpc.ClientConnInterface, before func(), ) grpc.ClientConnInterface
func WithContextModifier ¶ added in v3.40.0
func WithContextModifier( cc grpc.ClientConnInterface, modifyCtx func(ctx context.Context) context.Context, ) grpc.ClientConnInterface
Types ¶
type Conn ¶
Click to show internal directories.
Click to hide internal directories.