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
}
App of package
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 ¶
type TemplateFunc = func(http.ResponseWriter, *http.Request) (string, int, map[string]interface{}, error)
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.