Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EchoResponse ¶
Types ¶
type Response ¶
type Response struct { Errno int `json:"code"` Msg string `json:"message"` Data interface{} `json:"data"` IsSucc bool `json:"is_succ"` }
func NewResponse ¶
func NewResponse() *Response
func (*Response) WithDefaultMsg ¶
Click to show internal directories.
Click to hide internal directories.