Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConnInterface ¶
type ClientConnInterface interface { Invoke(ctx context.Context, method string, args any, reply any, opts ...grpc.CallOption) error NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (grpc.ClientStream, error) Close() error }
func GetConnection ¶
func GetConnection(host string, options ...grpc.DialOption) (ClientConnInterface, error)
Click to show internal directories.
Click to hide internal directories.