Documentation ¶
Index ¶
- func CreateCorsEnabler() func(http.Handler) http.Handler
- func CreateSessionProvider(f mongo.ContextFactory) func(http.Handler) http.Handler
- func ParseJSON(r *http.Request, payload interface{}) error
- func RenderError(w http.ResponseWriter, code int)
- func RenderJSON(w http.ResponseWriter, payload interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCorsEnabler ¶
CreateCorsEnabler middleware
func CreateSessionProvider ¶
CreateSessionProvider middleware
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.