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