Nano is an easy to use, fast, lightweight game server networking library for Go. It provides a core network architecture and a series of tools and libraries that can help developers eliminate boring duplicate work for common underlying logic. The goal of nano is to improve development efficiency by eliminating the need to spend time on repetitious network related programming.
Nano was designed for server-side applications like real-time games, social games, mobile games, etc of all sizes.
go get github.com/lonnng/nano
# dependencies
go get -u github.com/golang/protobuf
go get -u github.com/gorilla/websocket
- How to build your first nano application
- Route compression
- Communication protocol
- Design patterns
- How to integrate Lua into Nano component(incomplete)
# Case: PingPong
# OS: Windows 10
# Device: i5-6500 32.GHz 4 Core/1000-Concurrent => IOPS 11W(Average)
# Other: ...
cd $GOPATH/src/github.com/lonnng/nano/benchmark/io
go test -v -tags "benchmark"