gbGrpc

package
v0.0.0-...-37de26c Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GbClientConn

type GbClientConn struct {
	*grpc.ClientConn
	// contains filtered or unexported fields
}

func Dial

func Dial(target string, opts ...grpc.DialOption) (*GbClientConn, error)

func DialContext

func DialContext(ctx context.Context, target string, opts ...grpc.DialOption) (
	conn *GbClientConn, err error,
)

func (*GbClientConn) Invoke

func (cc *GbClientConn) Invoke(ctx context.Context, method string, args interface{}, reply interface{}, opts ...grpc.CallOption) error

func (*GbClientConn) NewStream

func (cc *GbClientConn) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (
	grpc.ClientStream, error,
)

type GbClientStream

type GbClientStream struct {
	grpc.ClientStream
	// contains filtered or unexported fields
}

func (*GbClientStream) RecvMsg

func (cs *GbClientStream) RecvMsg(m interface{}) error

func (*GbClientStream) SendMsg

func (cs *GbClientStream) SendMsg(m interface{}) error

Jump to

Keyboard shortcuts

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