Documentation
¶
Index ¶
- Variables
- func SubsciptionReqAuth(cmd string) bool
- func ValidSubscription(cmd string) bool
- func WSJSON(cmd, id string, payload interface{}) ([][]byte, error)
- func WSRead(c *websocket.Conn) (string, string, interface{}, error)
- func WSWrite(c *websocket.Conn, cmd, id string, payload interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidWSCommand = errors.New("invalid webssocket command")
)
Functions ¶
func SubsciptionReqAuth ¶
func ValidSubscription ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.