endpoint

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 1, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	Name      string
	Hostname  string
	Port      int
	MasterURL string
	LEDSetter led.Setter
	// contains filtered or unexported fields
}

Endpoint represents one RPI system

func (*Endpoint) GetRegistered

func (endpoint *Endpoint) GetRegistered() bool

GetRegistered returns whether the endpoint has registered with the server

func (*Endpoint) Register

func (endpoint *Endpoint) Register()

Register the endpoint with the server. Tries once in the main thread and, if the server isn't available yet, retries in the background until it succeeds

Jump to

Keyboard shortcuts

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