sockets

package
v0.0.0-...-caf5947 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleConnection

func HandleConnection(c *gin.Context)

HandleConnection godoc @Summary Connects a user on a channel to the websocket circuit @Description gets User ID and Channel ID and creates a new client connection @USER_ID get-string-by-int @CHANNEL_ID get-string-by-int @Accept json @Param user_id path int true "User ID" @Param id path int true "Channel ID" @Header 200 {string} Token "qwerty" @Router /user/{userId}/channel/{id} [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL