Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebSocketBroker ¶
type WebSocketBroker struct {
// contains filtered or unexported fields
}
func New ¶
func New() WebSocketBroker
func (*WebSocketBroker) Close ¶
func (broker *WebSocketBroker) Close() error
func (*WebSocketBroker) RegisterHandle ¶
func (broker *WebSocketBroker) RegisterHandle(handler models.MessageHandler, topics ...string)
func (*WebSocketBroker) RemoveHandler ¶
func (broker *WebSocketBroker) RemoveHandler(topic string, handlerName string)
Click to show internal directories.
Click to hide internal directories.