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 NewHandler ¶
func NewHandler(svc service.WebsocketService) *Handler
func (*Handler) Connect ¶
Connect godoc
@Id WsConnect @Summary Connect to websocket server @Description Request for connect to websocket server. If pool is not full, a new websocket connection is created. @Tags Websocket API @Security BearerAuth @Success 101 @Failure 400 {object} dto.ErrorResponse @Failure 401 {object} dto.ErrorResponse @Failure 503 {object} dto.ErrorResponse @Router /v0/ws [get]
func (*Handler) RegisterRoutes ¶
func (h *Handler) RegisterRoutes(router *gin.Engine, middlewares handler.RouteMiddlewares)
Click to show internal directories.
Click to hide internal directories.