Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResError ¶
func ResError(w http.ResponseWriter, errMsg string)
func ResSuccess ¶
func ResSuccess(w http.ResponseWriter, data interface{}, pagingTotal ...int64)
Types ¶
type AccountJwt ¶
type AccountJwt struct {
Id int64
}
type Headers ¶
type Headers struct { // jwt token解析出的数据 Account AccountJwt }
Click to show internal directories.
Click to hide internal directories.