Versions in this module Expand all Collapse all v0 v0.0.2 May 10, 2021 v0.0.1 May 10, 2021 Changes in this version + var ErrFailedAuthentication = errors.New("failed to log in") + func DefaultTransport() http.RoundTripper + type APIModel struct + General GeneralInfo + Power PowerInfo + Session SessionInfo + WWAN WWANInfo + type Client struct + func New(url, password string, opts ...Option) *Client + func (c *Client) Authenticate() error + func (c *Client) GetSession() (*SessionInfo, error) + func (c *Client) Poll() (*APIModel, error) + type GeneralInfo struct + APIVersion string + AppVersion string + BootloaderVersion string + FirmwareVersion string + HardwareVersion string + IMEI string + Model string + Temperature int + VersionMajor int + VersionMinor int + WebAppVersion string + type Option func(*initOptions) + func WithClientTimeout(ttl time.Duration) Option + func WithCookieJar(jar http.CookieJar) Option + func WithRoundTripper(rt http.RoundTripper) Option + type PowerInfo struct + DeviceTempCritical bool + ResetRequired string + type SessionInfo struct + Language string + SecurityToken string + UserRole string + type SignalStrenthInfo struct + Bars int + ECIO int + RSCP int + RSRP int + RSRQ int + RSSI int + SINR int + type WWANInfo struct + IP string + IPv6 string + RegisterNetworkDisplay string + SignalStrenth SignalStrenthInfo