client

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package client provides a simple wrapper around the generated gRPC client for Nexus

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 New

func New(opts config.API, devMode bool) (*IPFSOrchestratorClient, error)

New instantiates a new orchestrator API client

func (*IPFSOrchestratorClient) Close

func (i *IPFSOrchestratorClient) 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