Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcClient ¶
type GrpcClient[T any] struct { // contains filtered or unexported fields }
func NewGrpcClient ¶
func NewGrpcClient[T any](address string, usingClientLB bool, newClientFunc func(*grpc.ClientConn) T) (*GrpcClient[T], error)
func (*GrpcClient[T]) Client ¶
func (slf *GrpcClient[T]) Client() T
Click to show internal directories.
Click to hide internal directories.