evio: github.com/tidwall/evio/internal Index | Files

package internal

import "github.com/tidwall/evio/internal"

Index

Package Files

internal_linux.go internal_unix.go notequeue.go socktoaddr.go

func SetKeepAlive Uses

func SetKeepAlive(fd, secs int) error

func SockaddrToAddr Uses

func SockaddrToAddr(sa syscall.Sockaddr) net.Addr

SockaddrToAddr returns a go/net friendly address

type Poll Uses

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

Poll ...

func OpenPoll Uses

func OpenPoll() *Poll

OpenPoll ...

func (*Poll) AddRead Uses

func (p *Poll) AddRead(fd int)

AddRead ...

func (*Poll) AddReadWrite Uses

func (p *Poll) AddReadWrite(fd int)

AddReadWrite ...

func (*Poll) Close Uses

func (p *Poll) Close() error

Close ...

func (*Poll) ModDetach Uses

func (p *Poll) ModDetach(fd int)

ModDetach ...

func (*Poll) ModRead Uses

func (p *Poll) ModRead(fd int)

ModRead ...

func (*Poll) ModReadWrite Uses

func (p *Poll) ModReadWrite(fd int)

ModReadWrite ...

func (*Poll) Trigger Uses

func (p *Poll) Trigger(note interface{}) error

Trigger ...

func (*Poll) Wait Uses

func (p *Poll) Wait(iter func(fd int, note interface{}) error) error

Wait ...

Package internal imports 4 packages (graph) and is imported by 4 packages. Updated 2020-01-19. Refresh now. Tools for package owners.