Documentation
¶
Index ¶
- func LogMiddleware(next http.Handler) http.Handler
- func NewJWT(signingKey []byte) *jwtmiddleware.JWTMiddleware
- func PanicMiddleware(next http.Handler) http.Handler
- func RespondError(w http.ResponseWriter, statusCode int, message string)
- func RespondJSON(w http.ResponseWriter, statusCode int, p interface{})
- type App
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RespondError ¶
func RespondError(w http.ResponseWriter, statusCode int, message string)
RespondError ...
func RespondJSON ¶
func RespondJSON(w http.ResponseWriter, statusCode int, p interface{})
RespondJSON ...
Types ¶
Click to show internal directories.
Click to hide internal directories.