grpc_client

package
v0.0.0-...-bafb2d1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConn

type ClientConn interface {
	Connect(target string, opts ...grpc.DialOption) (*grpc.ClientConn, error)
}

type ConnObjFactory

type ConnObjFactory struct{}

func (*ConnObjFactory) NewGrpcSession

func (c *ConnObjFactory) NewGrpcSession() GrpcSession

type GrpcSes

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

func (*GrpcSes) Connect

func (gs *GrpcSes) Connect(target string, opts ...grpc.DialOption) (*grpc.ClientConn, error)

func (*GrpcSes) GrpcDial

func (c *GrpcSes) GrpcDial(cc ClientConn, target string, opts ...grpc.DialOption) (*grpc.ClientConn, error)

GrpcDial establishes a grpc-client client server connection

type GrpcSession

type GrpcSession interface {
	GrpcDial(cc ClientConn, target string, opts ...grpc.DialOption) (*grpc.ClientConn, error)
}

type GrpcSessionFactory

type GrpcSessionFactory interface {
	NewGrpcSession() GrpcSession
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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