Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RespondWithCSS ¶
func RespondWithCSS(w http.ResponseWriter, statusCode int, statusMessage string, data string)
RespondWithCSS writes css response format (for user cover).
func RespondWithJSON ¶
func RespondWithJSON(w http.ResponseWriter, statusCode int, statusMessage string, data interface{})
RespondWithJSON writes json response format.
Types ¶
Click to show internal directories.
Click to hide internal directories.