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 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.