Documentation
¶
Overview ¶
Package all_http_methods declares one handler per HTTP verb so that setPathOperation walks the PATCH, HEAD and OPTIONS branches alongside the already-tested GET/POST/PUT/DELETE.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteItem ¶
func DeleteItem()
DeleteItem swagger:route DELETE /items items deleteItem
Delete an item.
Responses:
204: description: No Content
func GetItem ¶
func GetItem()
GetItem swagger:route GET /items items getItem
Get an item by id.
Responses:
200: description: OK
func HeadItem ¶
func HeadItem()
HeadItem swagger:route HEAD /items items headItem
Probe an item.
Responses:
200: description: OK
func OptionsItem ¶
func OptionsItem()
OptionsItem swagger:route OPTIONS /items items optionsItem
Describe the supported HTTP methods.
Responses:
200: description: OK
func PatchItem ¶
func PatchItem()
PatchItem swagger:route PATCH /items items patchItem
Apply a partial update.
Responses:
200: description: OK
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.