Documentation ¶
Index ¶
- func AllowCORS() martini.Handler
- func Auth(user_storage storage.UserStorage) martini.Handler
- func CombinedLogger() martini.Handler
- func EncodeOutput(prettify bool) martini.Handler
- func JsonLogger() martini.Handler
- func RequireRoles(roles ...dsapid.UserRoleName) martini.Handler
- type OutputEncoder
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombinedLogger ¶
func EncodeOutput ¶
func JsonLogger ¶
func RequireRoles ¶
func RequireRoles(roles ...dsapid.UserRoleName) martini.Handler
Types ¶
type OutputEncoder ¶
Click to show internal directories.
Click to hide internal directories.