Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEmptyWSResponse ¶
func NewEmptyWSResponse(data interface{}) ws.WSResponse
NewEmptyWSResponse creates a success and non-data WS response.
func NewWSError ¶
func NewWSError(errno int, err string) ws.WSResponse
NewWSError creates a failure WS response.
func NewWSResponse ¶
func NewWSResponse(data interface{}) ws.WSResponse
NewWSResponse creates a success WS response with a data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.