package
Version:
v0.0.0-...-74ee40a
Opens a new window with list of versions in this module.
Published: May 27, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Contexter() macaron.Handler
Contexter initializes a classic context for a request.
type Context struct {
*macaron.Context
Flash *session.Flash
}
Context represents context of a request.
HTML calls Context.HTML and converts template name to string.
func (*Context) Handle ¶
Handle handles and logs error by given status.
HasError returns true if error occurs in form validation.
RenderWithErr used for page has form validation but need to prompt error to users.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.