Documentation ¶
Index ¶
- Variables
- func OrderSocketCloseHandler(orderId bson.ObjectId) func(code int, text string) error
- func PairSocketCloseHandler(pair string, conn *websocket.Conn) func(code int, text string) error
- func PairSocketRegister(pair string, conn *websocket.Conn) error
- func PairSocketWriteMessage(pair string, message []byte) error
- type PairWs
- type Ws
Constants ¶
This section is empty.
Variables ¶
View Source
var Connections map[string]*Ws
View Source
var PairSockets map[string]PairWs
Functions ¶
func OrderSocketCloseHandler ¶
func PairSocketCloseHandler ¶
func PairSocketWriteMessage ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.