package
Version:
v0.0.0-...-a12e6e1
Opens a new window with list of versions in this module.
Published: Feb 21, 2021
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewPollServer(addr string) *loopServer
func NewStdServer(addr string) *stdServer
type PollIF interface {
ChangeRW(fd int)
ChangeDetach(fd int)
ChangeRead(fd int)
AddRW(fd int)
AddRead(fd int)
Looping(execute func(fd int) error)
Close() error
Trigger(note interface{}) error
}
type Server interface {
Run()
Type(typ TYPE)
}
const (
None Signal = iota
Detach
Close
Shutdown
)
const (
HTTP TYPE = "http"
TCP TYPE = "tcp"
)
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.