wsMessages

package
v0.0.0-...-11f3239 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpecialWSMessage

type SpecialWSMessage string
var (
	// Acknowledged is the special web socket message sent during the connection phase
	Acknowledged SpecialWSMessage = "ACKNOWLEDGED"
	// Ping is sent from the server to the forwarder and recorder to validate the connection
	Ping SpecialWSMessage = "PING"
	// Pong is sent from the forwarder or recorder to the server to validate the connection in response to the Ping
	Pong SpecialWSMessage = "PONG"
)

func (SpecialWSMessage) String

func (s SpecialWSMessage) String() string

String returns the string of the special websocket message

Jump to

Keyboard shortcuts

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