grpcutils

package
v0.0.0-...-726f7ef Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcClientConn

type GrpcClientConn struct {
	Conn *grpc.ClientConn
	Cli  qpuapi.QPUAPIClient
}

GrpcClientConn ...

func NewClientConn

func NewClientConn(address string, tracing bool) (*GrpcClientConn, error)

NewClientConn ...

func (*GrpcClientConn) Close

func (c *GrpcClientConn) Close() error

Close ...

type GrpcServer

type GrpcServer struct {
	Server *grpc.Server
	// contains filtered or unexported fields
}

GrpcServer ...

func NewServer

func NewServer(tracing bool) (GrpcServer, error)

NewServer ...

func (GrpcServer) Close

func (s GrpcServer) Close()

Close ...

Jump to

Keyboard shortcuts

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