Documentation ¶
Index ¶
- type Response
- func (this *Response) Code(code int) *Response
- func (this *Response) Details(details interface{}) *Response
- func (this *Response) Error(err error) *Response
- func (this *Response) Message(message ...string) *Response
- func (this *Response) ParamError(message ...string) *Response
- func (this *Response) Result(result interface{}) *Response
- func (this *Response) Send()
- func (this *Response) ServerError(message ...string) *Response
- func (this *Response) StatusCode(statusCode int) *Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { RequestID string // contains filtered or unexported fields }
func (*Response) ParamError ¶
func (*Response) ServerError ¶
func (*Response) StatusCode ¶
Click to show internal directories.
Click to hide internal directories.