Documentation ¶
Index ¶
- type Info
- type JustAddPowerChannelIntResult
- type JustAddPowerChannelResult
- type JustAddPowerDetailsResult
- type JustAddPowerReciever
- func (j *JustAddPowerReciever) AudioVideoInputs(ctx context.Context) (map[string]string, error)
- func (j *JustAddPowerReciever) Healthy(ctx context.Context) error
- func (j *JustAddPowerReciever) Info(ctx context.Context) (interface{}, error)
- func (j *JustAddPowerReciever) SetAudioVideoInput(ctx context.Context, output, input string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JustAddPowerChannelIntResult ¶
type JustAddPowerChannelIntResult struct {
Data int `json:"data"`
}
JustAddPowerChannelIntResult type for result
type JustAddPowerChannelResult ¶
type JustAddPowerChannelResult struct {
Data string `json:"data"`
}
JustAddPowerChannelResult type for result
type JustAddPowerDetailsResult ¶
type JustAddPowerDetailsResult struct { Data struct { Firmware struct { Date string `json:"date"` Update struct { Eta bool `json:"eta"` Message string `json:"message"` Progress bool `json:"progress"` Result bool `json:"result"` Status bool `json:"status"` } `json:"update"` Version string `json:"version"` } `json:"firmware"` Model string `json:"model"` Network struct { Ipaddress string `json:"ipaddress"` Mac string `json:"mac"` Mtu int `json:"mtu"` Netmask string `json:"netmask"` Speed string `json:"speed"` } `json:"network"` Status string `json:"status"` Time string `json:"time"` Uptime string `json:"uptime"` } `json:"data"` }
JustAddPowerDetailsResult type for the hardware details stuff
type JustAddPowerReciever ¶
func (*JustAddPowerReciever) AudioVideoInputs ¶ added in v0.1.1
AudioVideoInputs returns the current input
func (*JustAddPowerReciever) Healthy ¶ added in v0.1.2
func (j *JustAddPowerReciever) Healthy(ctx context.Context) error
func (*JustAddPowerReciever) Info ¶ added in v0.1.1
func (j *JustAddPowerReciever) Info(ctx context.Context) (interface{}, error)
Info returns an info struct
func (*JustAddPowerReciever) SetAudioVideoInput ¶
func (j *JustAddPowerReciever) SetAudioVideoInput(ctx context.Context, output, input string) error
SwitchInput changes the input on the given output to input (Just add power transmitter - ipaddr) We don't need the output necessarily because the reciever is the output
Click to show internal directories.
Click to hide internal directories.