Documentation ¶
Index ¶
- func PointerTCPFD(ln interface{}) int
- func SetKeepAlive(fd, secs int) error
- func SocketFD(ln interface{}) (fd int, err error)
- func TCPFD(ln reflect.Value) int
- type Conn
- type Event
- type EventType
- type Listener
- type Poll
- func (p *Poll) AddRead(fd int, data unsafe.Pointer) error
- func (p *Poll) AddReadWrite(fd int, data unsafe.Pointer) error
- func (p *Poll) Close() error
- func (p *Poll) ModRead(ev Event) error
- func (p *Poll) ModReadWrite(ev Event) error
- func (p *Poll) Remove(fd int, data unsafe.Pointer) error
- func (p *Poll) Wait(iter func(ev Event) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PointerTCPFD ¶
func PointerTCPFD(ln interface{}) int
func SetKeepAlive ¶
Types ¶
type Listener ¶
Listener only TCP mode links are supported
type Poll ¶
type Poll struct {
// contains filtered or unexported fields
}
Poll ...
func (*Poll) AddReadWrite ¶
AddReadWrite ...
Click to show internal directories.
Click to hide internal directories.