Versions in this module Expand all Collapse all v0 v0.0.3 Oct 15, 2019 Changes in this version + type EventLoop struct + func New() (*EventLoop, error) + func (l *EventLoop) AddSocketAndEnableRead(fd int, s Socket) error + func (l *EventLoop) DeleteFdInLoop(fd int) + func (l *EventLoop) EnableRead(fd int) error + func (l *EventLoop) EnableReadWrite(fd int) error + func (l *EventLoop) PacketBuf() []byte + func (l *EventLoop) QueueInLoop(f func()) + func (l *EventLoop) RunLoop() + func (l *EventLoop) Stop() error + type Socket interface + HandleEvent func(fd int, events poller.Event)