MCPcopy
hub / github.com/gin-gonic/gin / PUT

Method PUT

routergroup.go:131–133  ·  view source on GitHub ↗

PUT is a shortcut for router.Handle("PUT", path, handlers).

(relativePath string, handlers ...HandlerFunc)

Source from the content-addressed store, hash-verified

129
130// PUT is a shortcut for router.Handle("PUT", path, handlers).
131func (group *RouterGroup) PUT(relativePath string, handlers ...HandlerFunc) IRoutes {
132 return group.handle(http.MethodPut, relativePath, handlers)
133}
134
135// OPTIONS is a shortcut for router.Handle("OPTIONS", path, handlers).
136func (group *RouterGroup) OPTIONS(relativePath string, handlers ...HandlerFunc) IRoutes {

Callers

nothing calls this directly

Calls 1

handleMethod · 0.95

Tested by

no test coverage detected