Documentation ¶
Index ¶
Constants ¶
View Source
const ( JSONLoginError = "{ \"error\": \"Not logged in.\" }" JSONActionError = "{ \"error\": \"Invalid action.\" }" JSONError = "{ \"error\": \"Unknown error.\" }" )
Variables ¶
This section is empty.
Functions ¶
func HandleAction ¶
func HandleAction(res http.ResponseWriter, req *http.Request, ps httprouter.Params, userInfo common.UserInfo)
Types ¶
type AjaxResult ¶
type AjaxResult struct {
Message string `json:"message"`
}
type AjaxResultNum ¶
Click to show internal directories.
Click to hide internal directories.