ws

package
v1.21.4 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WsServer

type WsServer struct {
	// contains filtered or unexported fields
}

func NewWsServer

func NewWsServer(sockMap *sockmap.SockMap, jwtService *jwtservice.JwtService, repos *repo.Repos) *WsServer

func (WsServer) Bind

func (ws WsServer) Bind(e *gin.Engine)

func (WsServer) Handshake

func (ws WsServer) Handshake(ctx *gin.Context)

func (WsServer) Info

func (ws WsServer) Info()

func (WsServer) Stream

func (ws WsServer) Stream(conn *websocket.Conn)

Jump to

Keyboard shortcuts

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