Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RespondError ¶
func RespondError(w http.ResponseWriter, code int, message string)
RespondError handles errors in response
func RespondJSON ¶
func RespondJSON(w http.ResponseWriter, status int, payload interface{})
RespondJSON responds JSON data
func ValidateJWT ¶
ValidateJWT validates that a JWT token is valid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.