client

package
v0.0.0-...-d0cf9b8 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client is a wrapper for the gRPC client that handles connections

func NewClient

func NewClient() (*Client, error)

NewClient returns a new client

func (*Client) DestroyClient

func (c *Client) DestroyClient()

DestroyClient tears down the gRPC connection

func (*Client) RequestLoad

func (c *Client) RequestLoad() error

RequestLoad returns the load

func (*Client) RequestNewService

func (c *Client) RequestNewService() error

RequestNewService will spin up a new server-oriented process and return a new client with a connection to it

func (*Client) RequestShutdown

func (c *Client) RequestShutdown() error

RequestShutdown sends a gRPC call to request the service process to shut down.

func (*Client) RequestStartup

func (c *Client) RequestStartup() error

RequestStartup makes a no-op rGPC call to test whether the service is running

Jump to

Keyboard shortcuts

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