grpcclient

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClientsObject

func CreateClientsObject(address string, port int, tls bool, caFile string) (*grpc.ClientConn, pb.InfoServiceClient, error)

Types

type InfoClient

type InfoClient struct {
	// contains filtered or unexported fields
}

func New

func (*InfoClient) Close

func (c *InfoClient) Close() error

func (*InfoClient) CreateCSPInfo

func (c *InfoClient) CreateCSPInfo(ctx context.Context, contractId string,
	cspName string, auth string) (*pb.IDResponse, error)

Jump to

Keyboard shortcuts

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