ae

package
v0.0.0-...-61e2499 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const AE_BARRIER = 4
View Source
const AE_NONE = 0
View Source
const AE_READABLE = 1
View Source
const AE_WRITABLE = 2

Variables

This section is empty.

Functions

func AeMain

func AeMain(el *EventLoop)

Types

type EventLoop

type EventLoop struct {
	// contains filtered or unexported fields
}

func CreateEventLoop

func CreateEventLoop(setsize int) (*EventLoop, error)

func (*EventLoop) CreateFileEvent

func (el *EventLoop) CreateFileEvent(fd int, mask int, proc FileProc, clientData interface{}) error

func (*EventLoop) DeleteFileEvent

func (el *EventLoop) DeleteFileEvent(fd int, mask int)

type FileEvent

type FileEvent struct {
	// contains filtered or unexported fields
}

type FileProc

type FileProc func(eventLoop *EventLoop, fd int, clientData interface{}, mask int)

type FireEvent

type FireEvent struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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