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
}
Click to show internal directories.
Click to hide internal directories.