Documentation
¶
Index ¶
- Variables
- func DiscoveryConnectH(w http.ResponseWriter, r *http.Request)
- func DiscoveryInfoH(w http.ResponseWriter, r *http.Request)
- func DiscoveryListH(w http.ResponseWriter, r *http.Request)
- func DiscoveryRemoveH(w http.ResponseWriter, r *http.Request)
- func DiscoverySetStatusH(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var Routes = []http.Route{ {Path: "/discovery", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: DiscoveryListH}, {Path: "/discovery/{discovery}", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: DiscoveryInfoH}, {Path: "/discovery/{discovery}", Method: http.MethodPut, Middleware: []http.Middleware{middleware.Authenticate}, Handler: DiscoveryConnectH}, {Path: "/discovery/{discovery}", Method: http.MethodDelete, Middleware: []http.Middleware{middleware.Authenticate}, Handler: DiscoveryRemoveH}, {Path: "/discovery/{discovery}/status", Method: http.MethodPut, Middleware: []http.Middleware{middleware.Authenticate}, Handler: DiscoverySetStatusH}, }
Functions ¶
func DiscoveryConnectH ¶
func DiscoveryConnectH(w http.ResponseWriter, r *http.Request)
func DiscoveryInfoH ¶
func DiscoveryInfoH(w http.ResponseWriter, r *http.Request)
func DiscoveryListH ¶
func DiscoveryListH(w http.ResponseWriter, r *http.Request)
func DiscoveryRemoveH ¶
func DiscoveryRemoveH(w http.ResponseWriter, r *http.Request)
func DiscoverySetStatusH ¶
func DiscoverySetStatusH(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Source Files
¶
- handlers.go
- routes.go
Click to show internal directories.
Click to hide internal directories.