Documentation ¶
Index ¶
- func InitApplicationsRoutes(r martini.Router)
- func InitGroupsRoutes(r martini.Router)
- func InitOperationsRoutes(r martini.Router)
- func InitRolesRoutes(r martini.Router)
- func InitUsersRoutes(r martini.Router)
- func MapEncoder(c martini.Context, w http.ResponseWriter, r *http.Request)
- func Result(enc Encoder, httpCode int, value interface{}) (int, string)
- type Encoder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitApplicationsRoutes ¶
func InitGroupsRoutes ¶
func InitOperationsRoutes ¶
func InitRolesRoutes ¶
func InitUsersRoutes ¶
func MapEncoder ¶
MapEncoder intercepts the request's URL, detects the requested format, and injects the correct encoder dependency for this request. It rewrites the URL to remove the format extension, so that routes can be defined without it.
Types ¶
Click to show internal directories.
Click to hide internal directories.