Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConnClosed = errors.New("GRPC conn is closed")
ErrConnClosed send when grpc is closed
Functions ¶
Types ¶
type InvalidConn ¶
type InvalidConn struct {
Err error
}
InvalidConn ...
func (*InvalidConn) Invoke ¶
func (c *InvalidConn) Invoke(_ context.Context, _ string, _ interface{}, _ interface{}, _ ...grpc.CallOption) error
Invoke call unary RPC
func (*InvalidConn) NewStream ¶
func (c *InvalidConn) NewStream(_ context.Context, _ *grpc.StreamDesc, _ string, _ ...grpc.CallOption) (grpc.ClientStream, error)
NewStream begins a streaming RPC.
Click to show internal directories.
Click to hide internal directories.