##Software architecture
- Data security protection of gate server, load balancing and distribution of client messages
- Game server message processing, data storage
- Login server login service (for common login [by accountID and pwd] and wechat)
- Robot server client simulator
- db mysql
- The network protocol adopts protobuf (back end: go, front end: JS)
- simulation server simulator
- etcd service discovery
- Remote call during grpc service
- Background control server (CURD background data, using iris open source web framework)
- Data storage and logic processing modules are independent, and can be allocated to each server as needed
- The nats message queue is based on the communication between the gateway and the logical server (planned)
##Instructions for use
Serverapp parameter list:
"args": [
"-app",
"gate",
"-ver",
"1",
"-webhost",
"127.0.0.1:19921",
"-tcphost",
"127.0.0.1:19922",
"-pprof",
"127.0.0.1",
"-log",
"1",
"-clients",
"1"
]
All server modules have init, run and other initial start modes.