Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOption ¶
type ClientOption interface {
// contains filtered or unexported methods
}
func WithGrpcConnection ¶
func WithGrpcConnection(v *grpc.ClientConn) ClientOption
func WithSession ¶
func WithSession(v *session.Session) ClientOption
func WithTarget ¶
func WithTarget(s string) ClientOption
func WithTargetService ¶ added in v0.6.8
func WithTargetService(s string) ClientOption
type GrpcClientConn ¶
type GrpcClientConn struct { *grpc.ClientConn // contains filtered or unexported fields }
func New ¶
func New(ctx context.Context, opts ...ClientOption) (*GrpcClientConn, error)
New returns a grpc connection to a Blue API target service.
func (*GrpcClientConn) Close ¶
func (c *GrpcClientConn) Close()
Close closes the underlying connection.
Click to show internal directories.
Click to hide internal directories.