Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
Connection is a representation of the websocket connection.
type Float32 ¶ added in v0.6.1
type Float32 float32
Float32 ...
func (Float32) MarshalJSON ¶ added in v0.6.1
MarshalJSON ...
func (*Float32) UnmarshalJSON ¶ added in v0.6.1
UnmarshalJSON ...
type PubSubServer ¶
type PubSubServer struct {
// contains filtered or unexported fields
}
PubSubServer maintains the set of active clients and sends messages to the clients.
func (*PubSubServer) Publish ¶
func (s *PubSubServer) Publish(channel string, msg interface{})
Publish ...
func (*PubSubServer) ServeHTTP ¶
func (s *PubSubServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.