event

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package event provides client and server event types.

In addition to packet types event types are used to inform the application of what is happening inside a tt.Client or tt.Server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConnect

type ClientConnect uint8

ClientConnect indicates a successful ConnAck

type ClientConnectFail

type ClientConnectFail string

type ClientStop

type ClientStop struct {
	Err error
}

ClientStop indicates client has stopped

type ClientUp

type ClientUp uint8

ClientUp indicates client is ready for sending packets.

type ServerStop

type ServerStop struct {
	Err error
}

ServerStop indicates server has stopped

type ServerUp

type ServerUp uint8

ServerUp indicates server is listening for

Jump to

Keyboard shortcuts

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