Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckHttpParams ¶
检查http请求中必须的参数是否存在,空字符串也算不存在; 给出类型的,还要验证类型是否合法; 检查到不存在的key,或参数类型错误立即返回该key
func HandleQuitSignal ¶
func HandleQuitSignal(f func())
func HandleSignal ¶
func OutputJsonResult ¶
func OutputJsonResult(w http.ResponseWriter, result types.JsonResult)
输出JsonResult到http response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.