Documentation ¶ Index ¶ type Response func New() *Response Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Response ¶ type Response struct { Code int `json:"code"` Message string `json:"message"` Data interface{} `json:"data"` Time int64 `json:"time"` Consume int64 `json:"consume"` File string `json:"file,omitempty"` Line int `json:"line,omitempty"` } func New ¶ func New() *Response Source Files ¶ View all Source files response.go Click to show internal directories. Click to hide internal directories.