Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (App) Handler ¶
func (a App) Handler(templateFunc TemplateFunc) http.Handler
Handler for request. Should be use with net/http.
type Message ¶
Message for render.
func NewErrorMessage ¶
NewErrorMessage create a error message.
func NewSuccessMessage ¶
NewSuccessMessage create a success message.
func ParseMessage ¶
ParseMessage parses messages from request.
type TemplateFunc ¶
TemplateFunc handle a request and returns which template to render with which status and datas.
Click to show internal directories.
Click to hide internal directories.