kyugao / gametcp_ex

base on tcp socket server api framework written by golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gametcp_ex

base on tcp socket server api framework written by golang

how to use

  1. install go env, set the $GOPATH

  2. go get github.com/Unknwon/goconfig go get github.com/go-sql-driver/mysql go get github.com/go-xorm/xorm go get github.com/garyburd/redigo/redis

  3. use the sql.sql to create the table

  4. start the redis server

  5. download the gametcp_ex and unzip it,then go run main.go, then you can write your own client code th connect the tcp server

  6. there are had client.go,clietn.py and client.php to show how to write client code, take a look at them

About

base on tcp socket server api framework written by golang


Languages

Language:Go 93.7%Language:PHP 3.4%Language:Python 2.8%