Documentation ¶
Index ¶
- Variables
- func Get(w http.ResponseWriter, r *http.Request)
- func IdDelete(w http.ResponseWriter, r *http.Request)
- func IdGet(w http.ResponseWriter, r *http.Request)
- func IdPut(w http.ResponseWriter, r *http.Request)
- func Post(w http.ResponseWriter, r *http.Request)
- type Data
- type IdData
- type StartStopRestart
Constants ¶
This section is empty.
Variables ¶
View Source
var GetHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { Get(w, r) })
View Source
var IdDeleteHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { IdDelete(w, r) })
View Source
var IdGetHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { IdGet(w, r) })
View Source
var IdPutHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { IdPut(w, r) })
View Source
var PostHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { Post(w, r) })
Functions ¶
Types ¶
type StartStopRestart ¶
type StartStopRestart struct {
Task string `json:"task"`
}
Click to show internal directories.
Click to hide internal directories.