client

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 5 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(clientName, socketPath string) *Client

clientName must be 5 characters

func (*Client) AddIPAlias

func (c *Client) AddIPAlias() (string, error)

func (*Client) RemoveIPAlias

func (c *Client) RemoveIPAlias() (string, error)

func (*Client) Send

func (c *Client) Send(command uint8) (string, error)

sends command and returns serverName (and error)

func (*Client) Uninstall

func (c *Client) Uninstall() (string, error)

Jump to

Keyboard shortcuts

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