client

package
v0.0.0-...-f9c212a Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Overview

Package client implements the data acquisition and communication with the server.

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 contains the state for the client side, i.e. for data acquisition and communication with the server.

func Create

func Create(addr string, mdns bool) (*Client, error)

Create creates a new Client.

func (*Client) Alive

func (c *Client) Alive() bool

Alive returns the value of the Client's alive flag

func (*Client) Loop

func (c *Client) Loop()

Loop executes the Client's main loop.

func (*Client) Stop

func (c *Client) Stop()

Stop tells the Client to cease activity.

Jump to

Keyboard shortcuts

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