controller

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	Rotation time.Duration
	// contains filtered or unexported fields
}

Controller structure

func (*Controller) Advance

func (c *Controller) Advance()

func (*Controller) GetActiveClient

func (c *Controller) GetActiveClient() (name, url string)

GetActiveClient returns the name & url of the active client

func (*Controller) NextClient

func (c *Controller) NextClient()

NextClient returns the next Client Name & URL that should be switched on

func (*Controller) RegisterClient

func (c *Controller) RegisterClient(clientName string, clientURL string)

RegisterClient registers the led

func (*Controller) Run

func (c *Controller) Run()

Jump to

Keyboard shortcuts

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