Documentation ¶
Index ¶
- type Amp
- func (a *Amp) Healthy(ctx context.Context) error
- func (a *Amp) Info(ctx context.Context) (interface{}, error)
- func (a *Amp) Mutes(ctx context.Context, _ []string) (map[string]bool, error)
- func (a *Amp) SetMute(ctx context.Context, _ string, muted bool) error
- func (a *Amp) SetVolume(ctx context.Context, _ string, volume int) error
- func (a *Amp) Volumes(ctx context.Context, _ []string) (map[string]int, error)
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
Click to show internal directories.
Click to hide internal directories.