Documentation
¶
Index ¶
- func Table(name string, model any) *table
- type Model
- type Pack_
- type Site
- type Sitex
- func (h *Sitex) App() *App
- func (h *Sitex) Handle(req Request, resp Response) (next bool)
- func (h *Sitex) OnConfigure()
- func (h *Sitex) OnCreate(name string, stage *Stage, app *App)
- func (h *Sitex) OnPrepare()
- func (h *Sitex) OnShutdown()
- func (h *Sitex) RegisterSite(name string, pack any)
- func (h *Sitex) Stage() *Stage
- type Target
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Pack_ ¶
type Pack_ struct { // Assocs Site *Site // associated site Request Request // current request Response Response // current response // contains filtered or unexported fields }
Pack_
type Sitex ¶
type Sitex struct { // Mixins Handlet_ // contains filtered or unexported fields }
Sitex handlet implements a simple MVC Web application framework.
func (*Sitex) OnConfigure ¶
func (h *Sitex) OnConfigure()
func (*Sitex) OnShutdown ¶
func (h *Sitex) OnShutdown()
func (*Sitex) RegisterSite ¶
Click to show internal directories.
Click to hide internal directories.