goextron

package module
v0.0.0-...-01eef88 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: MIT Imports: 7 Imported by: 1

README

go-extron

A golang wrapper for Extron SMP APIs (mostly Extron SMP 351)

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidInputNumber      = errors.New("invalid input number")
	ErrInvalidSwitchAttempt    = errors.New("invalid switch attempt in this mode")
	ErrInvalidCommand          = errors.New("invalid command")
	ErrInvalidPresetNumber     = errors.New("invalid preset number")
	ErrInvalidPortNumber       = errors.New("invalid port number")
	ErrInvalidParameter        = errors.New("invalid parameter")
	ErrInvalidForConfig        = errors.New("not valid for this configuration")
	ErrInvalidCmdForSignalType = errors.New("invalid command for signal type")
	ErrCommandTimedOut         = errors.New("command timed out")
	ErrBusy                    = errors.New("busy")
	ErrPrivilegeViolation      = errors.New("privilege violation")
	ErrDeviceNotPresent        = errors.New("device not present")
	ErrMaxConnExceeded         = errors.New("maximum number of connections exceeded")
	ErrInvalidEventNumber      = errors.New("invalid event number")
	ErrBadFile                 = errors.New("bad filename/file not found")
	ErrUnknown                 = errors.New("an unspecified error has occurred while performing this operation")
)

Functions

This section is empty.

Types

type Goextron

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

func New

func New(addr string, user string, password string) Goextron

func (Goextron) GetAuthStatus

func (g Goextron) GetAuthStatus() error

func (Goextron) SetMute

func (g Goextron) SetMute(muted bool) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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