internal

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 7 Imported by: 0

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

func MakeCloseable

func MakeCloseable(c grpc.ClientConnInterface) *closableConn

MakeCloseable ...

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

NewStream begins a streaming RPC.

Jump to

Keyboard shortcuts

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