client

package
v0.0.0-...-9b4e82f Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitialReceive

func InitialReceive(initialPayload string, tx, rx chan string) error

* 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

Jump to

Keyboard shortcuts

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