Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Reply ¶
func Reply(w http.ResponseWriter, code int, data interface{})
Reply replies a http request with a json response.
func ReplyWith ¶
func ReplyWith(w http.ResponseWriter, code int, bodyType string, msg []byte)
ReplyWith replies a http request with a bodyType response.
func ReplyWithStream ¶
ReplyWithStream replies a http request with a streaming response.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.