handler

package
v0.0.0-...-fc56e8f Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CompilerClient *compiler.Compiler
View Source
var ExecutingMeassageMAP sync.Map

Functions

func CodeCompiler

func CodeCompiler(ctx *gin.Context)

Types

type WSClient

type WSClient struct {
	C              *websocket.Conn
	ConnectionLive bool
	ConnectionUUID string
	// contains filtered or unexported fields
}

func UpgradeToWSClient

func UpgradeToWSClient(ctx *gin.Context) *WSClient

func (*WSClient) Close

func (ws *WSClient) Close()

func (*WSClient) GetMessage

func (ws *WSClient) GetMessage() *pb.WSInputInterface

func (*WSClient) SendMessage

func (ws *WSClient) SendMessage(msg *pb.WSOutputInterface)

Jump to

Keyboard shortcuts

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