Help us shape the future of Go! Take the 2026 Go Developer Survey

controller

package
v0.8.53 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DTOMessage added in v0.2.4

type DTOMessage struct {
	Type     string
	SocketID string
	Data     interface{}
}

type WebsocketController

type WebsocketController struct {
}

if u want to test with websocket-demo.html u should add it to CORS policy

func (*WebsocketController) InitConnection

func (controller *WebsocketController) InitConnection(c *gin.Context)

Jump to

Keyboard shortcuts

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