Versions in this module Expand all Collapse all v0 v0.1.1 Feb 18, 2026 v0.1.0 Feb 12, 2026 Changes in this version + const EncodingGIF + const EncodingJPEG + const EncodingPNG + const EncodingRAW + const LMSPPort + const LMSPVersion + func NewAPIError(statusCode int, body []byte) error + type APIError struct + Messages []string + StatusCode int + func (e *APIError) Error() string + type App struct + Package string + Vendor string + Version string + Widgets map[string]Widget + type Audio struct + Volume int + type AudioUpdate struct + Volume *int + type AuthError struct + func (e *AuthError) Error() string + type Bluetooth struct + Active bool + Available bool + Discoverable bool + MAC string + Name string + Pairable bool + type BluetoothUpdate struct + Active *bool + Discoverable *bool + Name *string + Pairable *bool + type Client struct + func NewClient(ip, apiKey string) *Client + func (c *Client) Delete(ctx context.Context, path string) error + func (c *Client) Get(ctx context.Context, path string, out any) error + func (c *Client) GetStreamStatus(ctx context.Context) (*StreamStatus, error) + func (c *Client) IP() string + func (c *Client) Post(ctx context.Context, path string, body, out any) error + func (c *Client) Put(ctx context.Context, path string, body, out any) error + func (c *Client) StartStream(ctx context.Context) (*StreamStartResponse, error) + func (c *Client) StopStream(ctx context.Context) error + type CloudIcon struct + Code string + ID int + Title string + Type string + func GetPopularIcons(ctx context.Context, limit int) ([]CloudIcon, error) + func SearchIcons(ctx context.Context, query string, limit int) ([]CloudIcon, error) + type Device struct + Audio Audio + Bluetooth Bluetooth + Display Display + ID string + Mode string + Model string + Name string + OSVersion string + SerialNumber string + UUID string + WiFi WiFi + type Display struct + Brightness int + BrightnessMode string + Height int + Screensaver *Screensaver + Type string + Width int + type DisplayUpdate struct + Brightness *int + BrightnessMode *string + type Frame struct + ChartData []int + GoalData *GoalData + Icon string + Text string + type GoalData struct + Current int + End int + Start int + Unit string + type IconsResponse struct + Data []CloudIcon + Meta struct{ ... } + type Notification struct + Created string + ID string + Priority string + Type string + type NotificationModel struct + Cycles int + Frames []Frame + Sound *Sound + type NotificationRequest struct + IconType string + Lifetime int + Model NotificationModel + Priority string + type RetryTransport struct + Base http.RoundTripper + MaxRetries int + func NewRetryTransport(base http.RoundTripper) *RetryTransport + func (t *RetryTransport) RoundTrip(req *http.Request) (*http.Response, error) + type Screensaver struct + Enabled bool + Widget string + type Sound struct + Category string + ID string + Repeat int + type StreamSession struct + DeviceIP string + Height int + SessionID string + Width int + func NewStreamSession(deviceIP, sessionID string, width, height int) (*StreamSession, error) + func (s *StreamSession) Close() error + func (s *StreamSession) SendFrame(encoding byte, data []byte) error + type StreamStartResponse struct + SessionID string + type StreamStatus struct + Active bool + SessionID string + type WiFi struct + Active bool + Encryption string + IP string + MAC string + Netmask string + SSID string + Strength int + type Widget struct + ID string + Index int + Package string + Settings any