clients

package
v2.0.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: MIT Imports: 8 Imported by: 1

Documentation

Overview

Package clients provides GRPC client constructors for various RTrade services that Temporal relies on.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPFSOrchestratorClient

type IPFSOrchestratorClient struct {
	nexus.ServiceClient
	// contains filtered or unexported fields
}

IPFSOrchestratorClient is a lighweight container for the orchestrator's gRPC API client

func NewOcrhestratorClient

func NewOcrhestratorClient(opts config.Nexus) (*IPFSOrchestratorClient, error)

NewOcrhestratorClient instantiates a new orchestrator API client

func (*IPFSOrchestratorClient) Close

func (i *IPFSOrchestratorClient) Close()

Close shuts down the client's gRPC connection

type LensClient

type LensClient struct {
	pb.LensV2Client
	// contains filtered or unexported fields
}

LensClient is a lens client used to make requests to the Lens gRPC server

func NewLensClient

func NewLensClient(opts config.Services) (*LensClient, error)

NewLensClient is used to generate our lens client

func (*LensClient) Close

func (l *LensClient) Close()

Close shuts down the client's gRPC connection

type SignerClient

type SignerClient struct {
	pb.SignerClient
	// contains filtered or unexported fields
}

SignerClient is how we interface with the Signer server as a client

func NewSignerClient

func NewSignerClient(cfg *config.TemporalConfig) (*SignerClient, error)

NewSignerClient is used to instantiate our connection with our grpc payment api

func (*SignerClient) Close

func (s *SignerClient) Close()

Close shuts down the client's gRPC connection

Jump to

Keyboard shortcuts

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