Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Null is the string representation of a null value
Null = "null"
)
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.8.0
type Float32 float32
Float32 ...
func (Float32) MarshalJSON ¶ added in v0.8.0
MarshalJSON ...
func (*Float32) UnmarshalJSON ¶ added in v0.8.0
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.