Documentation ¶
Index ¶
Constants ¶
View Source
const KEY_SIZE = 16
Variables ¶
View Source
var (
DEFAULT_KEY = Key([]byte{
0xba, 0x86, 0xf2, 0xbb,
0xe1, 0x07, 0xc7, 0xc5,
0x7e, 0xb5, 0xf2, 0x69,
0x07, 0x75, 0xc7, 0x12,
})
)
Functions ¶
This section is empty.
Types ¶
type InformRequest ¶
type InformRequest struct { BoardRevision int `json:"board_rev"` BootRomVersion string `json:"bootrom_version"` ConfigVersion string `json:"cfgversion"` CountryCode int `json:"country_code"` Default bool `json:"default"` DiscoveryResponse bool `json:"discovery_response"` Fingerprint string `json:"fingerprint"` FirmwareCapabilities int `json:"fw_caps"` GuestToken string `json:"guest_token"` HasEth1 bool `json:"has_eth1"` HasSpeaker bool `json:"has_speaker"` Hostname string `json:"hostname"` IntfTable []Interface `json:"if_table"` InformUrl string `json:"inform_url"` Ip string `json:"ip"` LastError string `json:"last_error"` Locating bool `json:"locating"` Mac MacAddr `json:"mac"` Model string `json:"model"` ModelDisplay string `json:"model_display"` Netmask string `json:"netmask"` QrId string `json:"qrid"` RadioTable []Radio `json:"radio_table"` RequiredVersion string `json:"required_version"` SelfrunBeacon bool `json:"selfrun_beacon"` Serial string `json:"serial"` SpectrumScanning bool `json:"spectrum_scanning"` State int `json:"state"` StreamToken string `json:"stream_token"` SysStats SysStats `json:"sys_stats"` Time int `json:"time"` Uplink string `json:"uplink"` Uptime int `json:"uptime"` VApTable []VAp `json:"vap_table"` Version string `json:"version"` WifiCapabilities int `json:"wifi_caps"` }
type InformResponse ¶
func ResponseFromHttpCode ¶
func ResponseFromHttpCode(code int) InformResponse
type ManagementConfig ¶
func (ManagementConfig) MarshalJSON ¶
func (m ManagementConfig) MarshalJSON() ([]byte, error)
type SetParam ¶
type SetParam struct { ManagementConfig `json:"mgmt_cfg"` ServerTime int `json:"server_time_in_utc"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.