Leaf, written in Go, is a open-source game server framework aiming to boost efficiency both in development and runtime. Simple APIs. Leaf tends to provide simple and plain interfaces which are always best for use. Self-healing. Leaf always tries to salvage the process from runtime errors instead of leaving it to crash. Multi-core support. Leaf utilize its modules and leaf/go to make use of CPU resouces at maximum while avoiding varieties of side effects may be caused. Each module runs inside a separate goroutine. Modules communicate with one another via a light weight RPC channel(leaf/chanrpc). Leaf suggests not to take in too many modules in your game server implementation. Gate module, for management of connection. Login module, for user authentication. Game module, for the main business.
Features
- Pragmatic game server framework in Go (golang)
- Extremely easy to use
- Reliable
- Multicore support
- Modularity
- Licensed under the Apache License