Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clients ¶
type Clients struct { sync.Mutex Router *Router `inject:""` // contains filtered or unexported fields }
func (*Clients) WebsocketRoute ¶
type ErrNoSuchRoute ¶
type ErrNoSuchRoute struct {
// contains filtered or unexported fields
}
func (*ErrNoSuchRoute) Error ¶
func (self *ErrNoSuchRoute) Error() string
type Message ¶
type Message struct { Type string `json:"type"` Data json.RawMessage `json:"data"` To string `json:"to"` }
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) AddClientConnectHandler ¶
func (*Router) RunOnClientConnectHandlers ¶
Click to show internal directories.
Click to hide internal directories.