Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct { Echo []string Data map[interface{}]interface{} net.Yttp Funcs map[string]any Writer http.ResponseWriter Request *http.Request /* Route data */ RouteData map[string]string View string Layouts map[string]string }
func (*Controller) Init ¶
func (c *Controller) Init(y net.Yttp) *Controller
Init generates default values of controller operations.
type ControllerInterface ¶
type ControllerInterface interface { Init(net.Yttp) *Controller Construct() }
type HandlerFunc ¶
type HandlerFunc func()
Click to show internal directories.
Click to hide internal directories.