Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArithReply ¶
type ArithReply struct {
C int
}
type Model ¶
type Model struct { Id uint `json:"id"` UpdatedAt string `json:"updatedAt"` CreatedAt string `json:"createdAt"` }
Model
type NestedItem ¶
type NestedItem struct { Id int `json:"id"` Name string `json:"name"` Parent int `json:"parent"` Children []*NestedItem `json:"children"` }
type PageData ¶
type PageData struct { Result interface{} `json:"result"` Pagination Pagination `json:"pagination"` }
type PaginateReq ¶
type PaginateReq struct { Page int `json:"page"` PageSize int `json:"pageSize"` Field string `json:"field"` Order string `json:"order"` }
PaginateReq
func (*PaginateReq) ConvertParams ¶
func (r *PaginateReq) ConvertParams()
type Pagination ¶
type Response ¶
type Response struct { Code int64 `json:"code"` Msg string `json:"msg"` Data interface{} `json:"data"` }
Response
type RpcResp ¶
type RpcResp struct { Code consts.ResultCode `json:"code"` Msg string `json:"msg"` Payload interface{} `json:"payload"` }
Click to show internal directories.
Click to hide internal directories.