kqueue

package
v0.0.0-...-a7c7adb Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventLoop

type EventLoop struct {
	KqueueFileDescriptor int
	SocketFileDescriptor int
}

func NewEventLoop

func NewEventLoop(s *socket.Socket) (*EventLoop, error)

func (*EventLoop) Handle

func (eventLoop *EventLoop) Handle(handler Handler)

Handle 处理函数

type Handler

type Handler func(s *socket.Socket)

Jump to

Keyboard shortcuts

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