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

Function PUT

ginS/gins.go:81–83  ·  view source on GitHub ↗

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

(relativePath string, handlers ...gin.HandlerFunc)

Source from the content-addressed store, hash-verified

79
80// PUT is a shortcut for router.Handle("PUT", path, handle)
81func PUT(relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes {
82 return engine().PUT(relativePath, handlers...)
83}
84
85// OPTIONS is a shortcut for router.Handle("OPTIONS", path, handle)
86func OPTIONS(relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes {

Callers 1

TestPUTFunction · 0.85

Calls 1

PUTMethod · 0.65

Tested by 1

TestPUTFunction · 0.68