Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New(c *db.CQLCon, pg *pgdb.DB, sub *subscriber.Subscriber, sendJSON func(v any) error, jwt *auth.Auth, hbTimeout int64, closer func(), logger *slog.Logger, nats *nats.Conn, pstore *presence.Store, cache *kvs.Cache, onAuthenticated func(userID int64), baseCtx context.Context, telemetry *observability.WSTelemetry) *Handler
func (*Handler) HandleMessage ¶
func (*Handler) OnWSClosed ¶ added in v1.5.0
func (h *Handler) OnWSClosed()
Click to show internal directories.
Click to hide internal directories.