Documentation ¶
Index ¶
- func CSRFProtect(next http.Handler) http.Handler
- func ConfigCtx(config *config.Config) func(http.Handler) http.Handler
- func Database(c *config.Config) (func(http.Handler) http.Handler, error)
- func GetBaseCtx(r *http.Request) map[string]interface{}
- func GetConfig(r *http.Request) *config.Config
- func GetDB(r *http.Request) *buntdb.DB
- func GetSession(r *http.Request) session.Session
- func IsAdminSession(sess session.Session) bool
- func IsModSession(sess session.Session) bool
- func LimitSize(c *config.Config) func(http.Handler) http.Handler
- func SetupSessionManager(c *config.Config)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.