Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleWebSocket ¶
func HandleWebSocket(broker *WebSocketBroker) echo.HandlerFunc
Types ¶
type WebSocketBroker ¶
type WebSocketBroker struct {
// contains filtered or unexported fields
}
func NewWebSocketBroker ¶
func NewWebSocketBroker(redisAddr string) (*WebSocketBroker, error)
func (*WebSocketBroker) Close ¶
func (b *WebSocketBroker) Close() error
func (*WebSocketBroker) Run ¶
func (b *WebSocketBroker) Run()
Click to show internal directories.
Click to hide internal directories.