Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { // Configuration Prefix string Data interface{} Res http.ResponseWriter Req *http.Request Routes []Route Partials string // Oncall Params map[string]string Options map[string][]string }
func (*Controller) Mount ¶
func (c *Controller) Mount(router *mux.Router)
func (*Controller) Raw ¶
func (c *Controller) Raw(data string)
func (*Controller) Render ¶
func (c *Controller) Render(name string) error
Render view to HTTP response writer.
func (*Controller) RenderError ¶
func (c *Controller) RenderError(view string, err error) error
Click to show internal directories.
Click to hide internal directories.