atgain60

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Amp added in v0.1.5

type Amp struct {
	Username string
	Password string
	Address  string
	Log      *zap.Logger

	RequestDelay time.Duration
	// contains filtered or unexported fields
}

Amp represents an Atlona 60 watt amplifier

func (*Amp) Healthy added in v0.1.5

func (a *Amp) Healthy(ctx context.Context) error

func (*Amp) Info added in v0.1.5

func (a *Amp) Info(ctx context.Context) (interface{}, error)

func (*Amp) Mutes added in v0.1.5

func (a *Amp) Mutes(ctx context.Context, _ []string) (map[string]bool, error)

func (*Amp) SetMute added in v0.1.5

func (a *Amp) SetMute(ctx context.Context, _ string, muted bool) error

func (*Amp) SetVolume added in v0.1.5

func (a *Amp) SetVolume(ctx context.Context, _ string, volume int) error

func (*Amp) Volumes added in v0.1.5

func (a *Amp) Volumes(ctx context.Context, _ []string) (map[string]int, error)

Jump to

Keyboard shortcuts

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