Documentation ¶
Index ¶
- type CallsWebsocket
- func (c *CallsWebsocket) OnConnect(ctx context.Context, r *http.Request, w websocket.Writer, ...)
- func (c *CallsWebsocket) OnDisconnect(ctx context.Context, r *http.Request, _ sessions.Session)
- func (c *CallsWebsocket) OnMessage(ctx context.Context, r *http.Request, w websocket.Writer, _ sessions.Session, ...)
- type PeersWebsocket
- func (c *PeersWebsocket) OnConnect(ctx context.Context, r *http.Request, w websocket.Writer, ...)
- func (c *PeersWebsocket) OnDisconnect(ctx context.Context, r *http.Request, _ sessions.Session)
- func (c *PeersWebsocket) OnMessage(ctx context.Context, r *http.Request, w websocket.Writer, _ sessions.Session, ...)
- type RepeatersWebsocket
- func (c *RepeatersWebsocket) OnConnect(ctx context.Context, r *http.Request, w websocket.Writer, ...)
- func (c *RepeatersWebsocket) OnDisconnect(ctx context.Context, r *http.Request, _ sessions.Session)
- func (c *RepeatersWebsocket) OnMessage(ctx context.Context, r *http.Request, w websocket.Writer, _ sessions.Session, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallsWebsocket ¶
func CreateCallsWebsocket ¶
func CreateCallsWebsocket(db *gorm.DB, redis *redis.Client) *CallsWebsocket
func (*CallsWebsocket) OnDisconnect ¶
type PeersWebsocket ¶ added in v1.0.35
func CreatePeersWebsocket ¶ added in v1.0.35
func CreatePeersWebsocket(db *gorm.DB, redis *redis.Client) *PeersWebsocket
func (*PeersWebsocket) OnDisconnect ¶ added in v1.0.35
type RepeatersWebsocket ¶
func CreateRepeatersWebsocket ¶
func CreateRepeatersWebsocket(db *gorm.DB, redis *redis.Client) *RepeatersWebsocket
func (*RepeatersWebsocket) OnDisconnect ¶
Click to show internal directories.
Click to hide internal directories.