Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contexter ¶
func Contexter() macaron.Handler
Contexter initializes a classic context for a request.
func Datasource ¶
func Datasource() macaron.Handler
Types ¶
type Context ¶
type Context struct { *macaron.Context User *models.User IsAdmin bool IsSigned bool IsBasicAuth bool DataSource datasource.DataSource Provider string }
Click to show internal directories.
Click to hide internal directories.