Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachClient ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a middleman between the websocket connection and the server.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server operates with websocket clients (viewers). Listens for aggregated messages from aggreagtor, calculates values for ticker string an build it. Broadcasts updated ticker string to all clients.
Click to show internal directories.
Click to hide internal directories.