mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 23:40:35 +01:00
20 lines
591 B
Go
20 lines
591 B
Go
|
// +build go1.9
|
||
|
|
||
|
package mvc
|
||
|
|
||
|
import (
|
||
|
"github.com/kataras/iris/mvc/activator"
|
||
|
)
|
||
|
|
||
|
// ActivatePayload contains the necessary information and the ability
|
||
|
// to alt a controller's registration options, i.e the binder.
|
||
|
//
|
||
|
// With `ActivatePayload` the `Controller` can register custom routes
|
||
|
// or modify the provided values that will be binded to the
|
||
|
// controller later on.
|
||
|
//
|
||
|
// Look the `mvc/activator#ActivatePayload` for its implementation.
|
||
|
//
|
||
|
// A shortcut for the `mvc/activator#ActivatePayload`, useful when `OnActivate` is being used.
|
||
|
type ActivatePayload = activator.ActivatePayload
|