energenie

package
v0.0.0-...-bb77b95 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Socket_Min = Socket(1)
	Socket_Max = Socket(4)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Switch(sockets map[Socket]bool) error
	Status() (states map[Socket]bool, names map[Socket]string, err error)
}

func NewHttpClient

func NewHttpClient(address, password string) (Client, error)

func NewNativeClient

func NewNativeClient(address string, port int, password string) (Client, error)

type Socket

type Socket int

Jump to

Keyboard shortcuts

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