Documentation ¶
Index ¶
- func Index(w http.ResponseWriter, r *http.Request)
- func Logger(inner http.Handler, name string) http.Handler
- func NewRouter() *mux.Router
- func SysPoweroff(w http.ResponseWriter, r *http.Request)
- func SysTimedateGet(w http.ResponseWriter, r *http.Request)
- func SysTimedateSync(w http.ResponseWriter, r *http.Request)
- func WifiReconnect(w http.ResponseWriter, r *http.Request)
- func WifiStatus(w http.ResponseWriter, r *http.Request)
- type Date
- type Error
- type Power
- type Route
- type Routes
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SysPoweroff ¶
func SysPoweroff(w http.ResponseWriter, r *http.Request)
SysPoweroff - System shutdown or reboot
func SysTimedateGet ¶
func SysTimedateGet(w http.ResponseWriter, r *http.Request)
SysTimedateGet - The time date of this machine
func SysTimedateSync ¶
func SysTimedateSync(w http.ResponseWriter, r *http.Request)
SysTimedateSync - Synchronize clock to NTP server on this machine
func WifiReconnect ¶
func WifiReconnect(w http.ResponseWriter, r *http.Request)
WifiReconnect - Re-connect to wifi
func WifiStatus ¶
func WifiStatus(w http.ResponseWriter, r *http.Request)
WifiStatus - Status of wifi
Types ¶
Click to show internal directories.
Click to hide internal directories.