Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DucksController ¶
type DucksController struct {
application.BaseController
}
DucksController is the controller for the ducks
func Ducks ¶
func Ducks() (string, *DucksController)
Ducks is a factory function with the prefix and instance
func (*DucksController) AllDucks ¶
func (c *DucksController) AllDucks() ([]*models.Duck, error)
AllDucks is a function that can be called in views
func (DucksController) Handle ¶
func (c DucksController) Handle(req *http.Request) application.Controller
Handle is called when each request is handled
func (*DucksController) Setup ¶
func (c *DucksController) Setup(app *application.App)
Setup is called when the application is started
Click to show internal directories.
Click to hide internal directories.