Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListModel ¶
type ListModel struct { PageIndex int `json:"pageIndex"` PageSize int `json:"pageSize"` PageCount int `json:"pageCount"` Total int64 `json:"total"` Items interface{} `json:"items"` }
ListModel 列表数据模型
type LogModel ¶
type LogModel struct { Type string `json:"type"` Content string `json:"content"` Created int64 `json:"created"` }
LogModel 日志数据模型
type RequestModel ¶
type ResponseDuration ¶
type ResponseModel ¶
type ResponseModel struct { Error string `json:"error,omitempty"` Status string `json:"status"` StatusCode int `json:"statusCode"` ContentLength int64 `json:"contentLength"` Proto string `json:"proto"` Headers http.Header `json:"headers"` Cookies []*http.Cookie `json:"cookies"` Body string `json:"body"` Code string `json:"code"` Duration ResponseDuration `json:"duration"` }
Click to show internal directories.
Click to hide internal directories.