Documentation ¶
Overview ¶
Package cable contains the route handlers serving Action Cables over WebSockets by implementing the Action Cable Protocol (https://docs.anycable.io/misc/action_cable_protocol) on the server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers struct {
// contains filtered or unexported fields
}
func New ¶
func New( r godest.TemplateRenderer, ss *session.Store, cc *session.CSRFTokenChecker, acc *actioncable.Cancellers, acs actioncable.Signer, tsb *turbostreams.Broker, l godest.Logger, ) *Handlers
func (*Handlers) HandleCableGet ¶
func (h *Handlers) HandleCableGet() auth.HTTPHandlerFuncWithSession
func (*Handlers) Register ¶
func (h *Handlers) Register(er godest.EchoRouter)
Click to show internal directories.
Click to hide internal directories.