evio/evio_other.go

23 lines
353 B
Go
Raw Normal View History

2017-10-28 22:23:13 +03:00
// +build !darwin,!netbsd,!freebsd,!openbsd,!dragonfly,!linux
2017-10-26 23:43:31 +03:00
2017-10-29 00:58:59 +03:00
package evio
2017-10-26 23:43:31 +03:00
import "os"
func (ln *listener) close() {
if ln.ln != nil {
ln.ln.Close()
}
if ln.network == "unix" {
os.RemoveAll(ln.addr)
}
}
func (ln *listener) system() error {
return nil
}
func serve(events Events, lns []*listener) error {
return servestdlib(events, lns)
}