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

Method HandlerWithParams

hero/container.go:367–369  ·  view source on GitHub ↗

HandlerWithParams same as `Handler` but it can receive a total path parameters counts to resolve coblex path parameters input dependencies.

(fn interface{}, paramsCount int)

Source from the content-addressed store, hash-verified

365// HandlerWithParams same as `Handler` but it can receive a total path parameters counts
366// to resolve coblex path parameters input dependencies.
367func (c *Container) HandlerWithParams(fn interface{}, paramsCount int) context.Handler {
368 return makeHandler(fn, c, paramsCount)
369}
370
371// Struct accepts a pointer to a struct value and returns a structure which
372// contains bindings for the struct's fields and a method to

Callers 3

HandlerMethod · 0.95
convertHandlerFuncsMethod · 0.80
HandlerMethod · 0.80

Calls 1

makeHandlerFunction · 0.70

Tested by

no test coverage detected