client

package
v0.0.0-...-6433798 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: MIT Imports: 14 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
}

func New

func New(socketLoc string) *Client

func (*Client) Attach

func (c *Client) Attach(name string, in io.Reader, out io.Writer) error

func (*Client) Close

func (c *Client) Close() error

func (*Client) List

func (c *Client) List() (*ListResponse, error)

func (*Client) Open

func (c *Client) Open() error

func (*Client) Restart

func (c *Client) Restart(names ...string) error

func (*Client) Start

func (c *Client) Start(names ...string) error

func (*Client) Stop

func (c *Client) Stop(names ...string) error

type ListResponse

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

func (*ListResponse) Out

func (l *ListResponse) Out(w io.Writer)

Jump to

Keyboard shortcuts

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