types.go
types.go - Overview
This file defines platform-independent types for representing I/O multiplexing events and operations.
Detailed Documentation
type Event
type Event struct {
Fd int
Op Operations
}
Purpose: Represents a platform-independent I/O multiplexing event.
Fields:
Fd
: The file descriptor (typeint
).Op
: The operations to be monitored on the file descriptor (typeOperations
).
type Operations
type Operations uint32
Purpose: Represents platform-independent operations to be monitored on a file descriptor.
Type: uint32