Nexus: github.com/RTradeLtd/Nexus/client Index | Files

package client

import "github.com/RTradeLtd/Nexus/client"

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

Index

Package Files

client.go doc.go

type IPFSOrchestratorClient Uses

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

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

func New Uses

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

New instantiates a new orchestrator API client

func (*IPFSOrchestratorClient) Close Uses

func (i *IPFSOrchestratorClient) Close()

Close shuts down the client's gRPC connection

Package client imports 6 packages (graph) and is imported by 1 packages. Updated 2019-01-18. Refresh now. Tools for package owners.