Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Routes = []http.Route{ {Path: "/namespace/{namespace}/route", Method: http.MethodPost, Middleware: []http.Middleware{middleware.Authenticate}, Handler: RouteCreateH}, {Path: "/namespace/{namespace}/route", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: RouteListH}, {Path: "/namespace/{namespace}/route/{route}", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: RouteInfoH}, {Path: "/namespace/{namespace}/route/{route}", Method: http.MethodPut, Middleware: []http.Middleware{middleware.Authenticate}, Handler: RouteUpdateH}, {Path: "/namespace/{namespace}/route/{route}", Method: http.MethodDelete, Middleware: []http.Middleware{middleware.Authenticate}, Handler: RouteRemoveH}, }
Functions ¶
func RouteCreateH ¶
func RouteCreateH(w http.ResponseWriter, r *http.Request)
func RouteInfoH ¶
func RouteInfoH(w http.ResponseWriter, r *http.Request)
func RouteListH ¶
func RouteListH(w http.ResponseWriter, r *http.Request)
func RouteRemoveH ¶
func RouteRemoveH(w http.ResponseWriter, r *http.Request)
func RouteUpdateH ¶
func RouteUpdateH(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.