Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "1.0.1"
Version is the current version of the package.
Functions ¶
func WriteFail ¶
func WriteFail(w http.ResponseWriter, code string, message string, result interface{})
WriteFail writes a fail response to the response writer.
func WriteSuccess ¶
func WriteSuccess(w http.ResponseWriter, result interface{}, codemessage ...string)
WriteSuccess writes a success response to the response writer.
Types ¶
Click to show internal directories.
Click to hide internal directories.