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 New(cc *grpc.ClientConn, sc pb.InfoServiceClient) *InfoClient
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)
Click to show internal directories.
Click to hide internal directories.