Documentation ¶
Index ¶
- type BandWidthTest
- type CountryCodeResp
- type DeviceListResp
- type MiWifiApi
- func (api *MiWifiApi) Auth(user string, pass string) error
- func (api *MiWifiApi) BandWidthTest(history int) (*BandWidthTest, error)
- func (api *MiWifiApi) CountryCode() (*CountryCodeResp, error)
- func (api *MiWifiApi) DeviceList() (*DeviceListResp, error)
- func (api *MiWifiApi) Logout() error
- func (api *MiWifiApi) PPOEStatus() (*PpoeStatus, error)
- func (api *MiWifiApi) Status() (*StatusResp, error)
- func (api *MiWifiApi) WifiDetailAll() (*WifiDetailAllResp, error)
- type PpoeStatus
- type StatusResp
- type WifiDetailAllResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BandWidthTest ¶ added in v1.1.0
type CountryCodeResp ¶ added in v1.1.0
type DeviceListResp ¶ added in v1.1.0
type MiWifiApi ¶
type MiWifiApi struct {
// contains filtered or unexported fields
}
func NewMiWifiApi ¶
func (*MiWifiApi) BandWidthTest ¶
func (api *MiWifiApi) BandWidthTest(history int) (*BandWidthTest, error)
func (*MiWifiApi) CountryCode ¶
func (api *MiWifiApi) CountryCode() (*CountryCodeResp, error)
func (*MiWifiApi) DeviceList ¶
func (api *MiWifiApi) DeviceList() (*DeviceListResp, error)
func (*MiWifiApi) PPOEStatus ¶
func (api *MiWifiApi) PPOEStatus() (*PpoeStatus, error)
func (*MiWifiApi) Status ¶
func (api *MiWifiApi) Status() (*StatusResp, error)
func (*MiWifiApi) WifiDetailAll ¶
func (api *MiWifiApi) WifiDetailAll() (*WifiDetailAllResp, error)
type PpoeStatus ¶ added in v1.1.0
type StatusResp ¶ added in v1.1.0
type WifiDetailAllResp ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.