events

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event interface {
	// contains filtered or unexported methods
}

type EventListenerAdded

type EventListenerAdded struct {
	Addr net.Addr
}

type EventListenerRemoved

type EventListenerRemoved struct {
	Addr net.Addr
}

type EventLogin

type EventLogin struct {
	SessionID int
	UserID    string
}

type EventSelect

type EventSelect struct {
	SessionID int
	Mailbox   string
}

type EventSessionAdded

type EventSessionAdded struct {
	SessionID  int
	LocalAddr  net.Addr
	RemoteAddr net.Addr
}

type EventSessionRemoved

type EventSessionRemoved struct {
	SessionID int
}

type EventUserAdded

type EventUserAdded struct {
	UserID   string
	Username string
}

type EventUserRemoved

type EventUserRemoved struct {
	UserID string
}

Jump to

Keyboard shortcuts

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