Documentation
¶
Index ¶
- func AuthWebSocket(c *websocket.Conn)
- func ChatConnection(c *websocket.Conn)
- func CreateChat(c *fiber.Ctx, claims *jwt.RegisteredClaims) error
- func GetChats(c *fiber.Ctx, claims *jwt.RegisteredClaims) error
- func GetSocketUpgrade(c *fiber.Ctx) error
- func HubRunner()
- func UpdateChat(c *fiber.Ctx, claims *jwt.RegisteredClaims) error
- type Hub
- type Hubs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthWebSocket ¶
func AuthWebSocket(c *websocket.Conn)
Authorizing Websockets , detaching from the chat selection Makign it more efficient
func ChatConnection ¶
func ChatConnection(c *websocket.Conn)
Will be phased out in a future release
Please use chat v2 for better websocket chats.
func CreateChat ¶
func CreateChat(c *fiber.Ctx, claims *jwt.RegisteredClaims) error
func GetSocketUpgrade ¶
func GetSocketUpgrade(c *fiber.Ctx) error
func UpdateChat ¶
func UpdateChat(c *fiber.Ctx, claims *jwt.RegisteredClaims) error
Types ¶
Click to show internal directories.
Click to hide internal directories.