Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlexaClient ¶
type AlexaClient struct {
// contains filtered or unexported fields
}
func (*AlexaClient) GetDevices ¶
func (c *AlexaClient) GetDevices() (devices model.DevicesResponse, err error)
func (*AlexaClient) GetVolume ¶ added in v0.0.2
func (c *AlexaClient) GetVolume() (volume model.VolumeResponse, err error)
func (*AlexaClient) LogIn ¶
func (c *AlexaClient) LogIn(relog bool) (err error)
func (*AlexaClient) PostSequenceCmd ¶
func (c *AlexaClient) PostSequenceCmd(command model.AlexaCmd) (err error)
type IAlexaClient ¶
type IAlexaClient interface { LogIn(relog bool) (err error) PostSequenceCmd(command model.AlexaCmd) (err error) GetDevices() (devices model.DevicesResponse, err error) GetVolume() (devices model.VolumeResponse, err error) }
func NewAlexaClient ¶
func NewAlexaClient(baseDomain string, user string, password string, cookieFile string) IAlexaClient
func NewAlexaClientWithHttpClient ¶
func NewAlexaClientWithHttpClient(baseDomain string, user string, password string, cookieHelper httpclient.ICookieHelper, client httpclient.IHttpClient) IAlexaClient
Click to show internal directories.
Click to hide internal directories.