Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Toggle ¶
func Toggle(options *ToggleOptions) macaron.Handler
Types ¶
type Context ¶
type Context struct { *macaron.Context Cache cache.Cache Flash *session.Flash Session session.Store Setting *setting User *db.User IsLogged bool Service *db.Service ServiceURL string // contains filtered or unexported fields }
Context 为请求上下文。
func (*Context) RenderWithErr ¶
RenderWithErr 返回表单报错。
type ToggleOptions ¶
Click to show internal directories.
Click to hide internal directories.