MCPcopy Create free account
hub / github.com/kataras/iris / Delete

Method Delete

core/router/api_container.go:212–214  ·  view source on GitHub ↗

Delete registers a route for the Delete HTTP Method. Returns a *Route and an error which will be filled if route wasn't registered successfully.

(relativePath string, handlersFn ...interface{})

Source from the content-addressed store, hash-verified

210//
211// Returns a *Route and an error which will be filled if route wasn't registered successfully.
212func (api *APIContainer) Delete(relativePath string, handlersFn ...interface{}) *Route {
213 return api.Handle(http.MethodDelete, relativePath, handlersFn...)
214}
215
216// Connect registers a route for the Connect HTTP Method.
217//

Callers

nothing calls this directly

Calls 1

HandleMethod · 0.95

Tested by

no test coverage detected