├── LICENSE ├── README.md ├── codec ├── buffer.go ├── codec.go ├── header_len_codec.go ├── uvarint_codec.go └── uvarint_codec_test.go ├── conn.go ├── go.mod ├── log.go ├── netpoll_bsd.go ├── netpoll_linux.go ├── netpoll_other.go ├── options.go ├── os_api.go ├── server.go ├── test ├── bench_client │ ├── main.go │ └── run.sh ├── bench_server │ ├── main.go │ └── run.sh ├── header_len_codec │ ├── main.go │ └── run.sh ├── simple │ ├── main.go │ └── run.sh └── uvarint_codec │ ├── main.go │ └── run.sh ├── util.go └── util_test.go /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/README.md -------------------------------------------------------------------------------- /codec/buffer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/codec/buffer.go -------------------------------------------------------------------------------- /codec/codec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/codec/codec.go -------------------------------------------------------------------------------- /codec/header_len_codec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/codec/header_len_codec.go -------------------------------------------------------------------------------- /codec/uvarint_codec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/codec/uvarint_codec.go -------------------------------------------------------------------------------- /codec/uvarint_codec_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/codec/uvarint_codec_test.go -------------------------------------------------------------------------------- /conn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/conn.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/go.mod -------------------------------------------------------------------------------- /log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/log.go -------------------------------------------------------------------------------- /netpoll_bsd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/netpoll_bsd.go -------------------------------------------------------------------------------- /netpoll_linux.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/netpoll_linux.go -------------------------------------------------------------------------------- /netpoll_other.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/netpoll_other.go -------------------------------------------------------------------------------- /options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/options.go -------------------------------------------------------------------------------- /os_api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/os_api.go -------------------------------------------------------------------------------- /server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/server.go -------------------------------------------------------------------------------- /test/bench_client/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/test/bench_client/main.go -------------------------------------------------------------------------------- /test/bench_client/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/test/bench_client/run.sh -------------------------------------------------------------------------------- /test/bench_server/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/test/bench_server/main.go -------------------------------------------------------------------------------- /test/bench_server/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/test/bench_server/run.sh -------------------------------------------------------------------------------- /test/header_len_codec/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/test/header_len_codec/main.go -------------------------------------------------------------------------------- /test/header_len_codec/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/test/header_len_codec/run.sh -------------------------------------------------------------------------------- /test/simple/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/test/simple/main.go -------------------------------------------------------------------------------- /test/simple/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/test/simple/run.sh -------------------------------------------------------------------------------- /test/uvarint_codec/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/test/uvarint_codec/main.go -------------------------------------------------------------------------------- /test/uvarint_codec/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/test/uvarint_codec/run.sh -------------------------------------------------------------------------------- /util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/util.go -------------------------------------------------------------------------------- /util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alberliu/gn/HEAD/util_test.go --------------------------------------------------------------------------------