interfaces

package
v0.0.0-...-999043c Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebSocketInterface

type WebSocketInterface interface {
	SetFunName(funName string)
	WebSocketInit(ws *melody.Melody)
	GetWebSocket() *melody.Melody
	GetMelody() *melody.Melody
	HandleConnect(*melody.Session)
	HandlePong(*melody.Session)
	HandleMessage(*melody.Session, []byte)
	HandleMessageBinary(*melody.Session, []byte)
	HandleSentMessage(*melody.Session, []byte)
	HandleSentMessageBinary(*melody.Session, []byte)
	HandleDisconnect(*melody.Session)
	HandleError(*melody.Session, error)
}

WebSocketInterface interface

Jump to

Keyboard shortcuts

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