tray

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 License: GPL-3.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

type CliService

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

func (*CliService) Serve

func (c *CliService) Serve()

func (*CliService) Stop

func (c *CliService) Stop()

type Client

type Client struct {
	sync.Mutex

	Status chan StatusMessage
	Errors chan error
	Tasks  chan []*common.ConcreteSyncState
	// contains filtered or unexported fields
}

func NewClient

func NewClient() *Client

func (*Client) Close

func (c *Client) Close()

func (*Client) Connect

func (c *Client) Connect() error

func (*Client) Reconnect

func (c *Client) Reconnect()

func (*Client) SendOrderedTasks

func (c *Client) SendOrderedTasks()

type StatusMessage

type StatusMessage int
const (
	StatusConnected StatusMessage = iota
	StatusDisconnected
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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