v1

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL