Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitialReceive ¶
* Because for some reason, the js web socket class does not have headers, We accept all connections and pull the initial payload as a login/user create command
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
* A client is a individual connection talks directly with the socket connections A client is tied to a user, there can be many clients to a single user Though messages that are responded to (query/trades) are only sent back to the client that sent it
Click to show internal directories.
Click to hide internal directories.