Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPResponse ¶
type HTTPResponse struct { Results interface{} `json:"results"` Total int `json:"total"` }
HTTPResponse 分页返回结构体
type PageResponse ¶
type PageResponse struct { Limit int `json:"limit"` Offset int `json:"offset"` Order string `json:"order"` Total int `json:"total"` Query *mgo.Query `json:"query"` }
PageResponse 分页传入结构体
Click to show internal directories.
Click to hide internal directories.