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

Method BeforeActivation

mvc/controller_test.go:285–290  ·  view source on GitHub ↗
(b BeforeActivation)

Source from the content-addressed store, hash-verified

283}
284
285func (t *testControllerBindDeep) BeforeActivation(b BeforeActivation) {
286 b.Dependencies().Register(func(ctx iris.Context) (v testCustomStruct, err error) {
287 err = ctx.ReadJSON(&v)
288 return
289 })
290}
291
292func (t *testControllerBindDeep) Get() {
293 // t.testControllerBindStruct.Get()

Callers 1

handleMethod · 0.45

Calls 3

RegisterMethod · 0.65
DependenciesMethod · 0.65
ReadJSONMethod · 0.45

Tested by

no test coverage detected