Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Config *config.Config // The client configuration. HTTPClient *http.Client // The HTTP client. SessionInfo *SessionInfo // The current session data of the client. // contains filtered or unexported fields }
Client encapsulates the FRITZ!Box interaction API.
type SessionInfo ¶
type SessionInfo struct { Challenge string // A challenge provided by the FRITZ!Box. SID string // The session id issued by the FRITZ!Box, "0000000000000000" is considered invalid/"no session". }
SessionInfo models the xml upon accessing the login endpoint.
Click to show internal directories.
Click to hide internal directories.