gotty-client/vendor/github.com/creack/goselect
Manfred Touron 2749f47e93 Switch to govendor 2017-12-13 16:56:02 +01:00
..
Dockerfile Add goselect in vendor 2015-10-23 15:17:04 +02:00
LICENSE Add goselect in vendor 2015-10-23 15:17:04 +02:00
README.md bump deps 2016-04-23 18:03:08 +02:00
fdset.go deps: update vendor directory 2016-04-07 18:16:01 +02:00
fdset_32.go Add goselect in vendor 2015-10-23 15:17:04 +02:00
fdset_64.go vendor: update 2016-05-07 10:28:57 +02:00
fdset_doc.go Add goselect in vendor 2015-10-23 15:17:04 +02:00
fdset_freebsd.go deps: update vendor directory 2016-04-07 18:16:01 +02:00
fdset_unsupported.go deps: update vendor directory 2016-04-07 18:16:01 +02:00
fdset_windows.go deps: update vendor directory 2016-04-07 18:16:01 +02:00
select.go Add goselect in vendor 2015-10-23 15:17:04 +02:00
select_linux.go Add goselect in vendor 2015-10-23 15:17:04 +02:00
select_other.go Add goselect in vendor 2015-10-23 15:17:04 +02:00
select_unsupported.go deps: update vendor directory 2016-04-07 18:16:01 +02:00
select_windows.go deps: update vendor directory 2016-04-07 18:16:01 +02:00
test_crosscompile.sh Switch to govendor 2017-12-13 16:56:02 +01:00
zselect_windows.go deps: update vendor directory 2016-04-07 18:16:01 +02:00

README.md

go-select

select(2) implementation in Go

Supported platforms

386 amd64 arm arm64
linux yes yes yes yes
darwin yes yes n/a ??
freebsd yes yes yes ??
openbsd yes yes yes ??
netbsd yes yes yes ??
dragonfly n/a yes n/a ??
solaris n/a no n/a ??
plan9 no no n/a ??
windows yes yes n/a ??
android n/a n/a no ??

*n/a: platform not supported by Go

Go on plan9 and solaris do not implement syscall.Select not syscall.SYS_SELECT.

Cross compile

Using davecheney's https://github.com/davecheney/golang-crosscompile

export PLATFORMS="darwin/386 darwin/amd64 freebsd/386 freebsd/amd64 freebsd/arm linux/386 linux/amd64 linux/arm windows/386 windows/amd64 openbsd/386 openbsd/amd64 netbsd/386 netbsd/amd64 dragonfly/amd64 plan9/386 plan9/amd64 solaris/amd64"