socketio_v5

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 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 Event

type Event struct {
	Name     string
	Payloads []interface{}
}

type Message

type Message struct {
	Type              SocketIOPacket
	BinaryAttachments *int
	NS                string
	AckId             *int
	Event             *Event
	Payload           interface{}
	ErrorMessage      *string
}

type SocketIOPacket

type SocketIOPacket byte
const (
	PacketConnect      SocketIOPacket = 0x00
	PacketDisconnect   SocketIOPacket = 0x01
	PacketEvent        SocketIOPacket = 0x02
	PacketAck          SocketIOPacket = 0x03
	PacketConnectError SocketIOPacket = 0x04
	PacketBinaryEvent  SocketIOPacket = 0x05
	PacketBinaryAck    SocketIOPacket = 0x06

	PacketUnknown SocketIOPacket = 0xFF
)

Directories

Path Synopsis
mocks
Package mock_socketio_v5_client is a generated GoMock package.
Package mock_socketio_v5_client is a generated GoMock package.
parser
default/mocks
Package mock_socketio_v5_parser_default is a generated GoMock package.
Package mock_socketio_v5_parser_default is a generated GoMock package.

Jump to

Keyboard shortcuts

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