goplay

command module
v0.0.0-...-c340371 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2018 License: MIT Imports: 9 Imported by: 0

README

GoPlay

GoDoc Go Report Card

GoPlay is a framework for game service, written by pure golang.

Clients

Cluster Services

  • Master: master manages all servers, and make service cluster
  • Connector: connector is gate way of client
Run Cluster Services By Docker
docker run --name goplay-master --rm -i -t -p 6812:6812 jennal/goplay-master
docker run --name goplay-connector --rm -i -t -p 9934:9934 --link goplay-master jennal/goplay-connector --master-host goplay-master

Demos

The MIT License

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package aop is Aspect Oriented Programming.
Package aop is Aspect Oriented Programming.
Package data is a thread safe memory storage of data
Package data is a thread safe memory storage of data
Package defaults is consts to default values
Package defaults is consts to default values
Package encode is Encoder and Decoder for pkg
Package encode is Encoder and Decoder for pkg
Package event provide a nodejs like event emmiter
Package event provide a nodejs like event emmiter
Package filter can filter client connect and message
Package filter can filter client connect and message
handshake
Package handshake is the first service processor that handles route encode
Package handshake is the first service processor that handles route encode
heartbeat
Package heartbeat resolve half connect issue
Package heartbeat resolve half connect issue
gen
Package handler is main service process
Package handler is main service process
Package helpers provide helper functions
Package helpers provide helper functions
log
Package log is a wrapper to system log package
Package log is a wrapper to system log package
color
Package color makes logs colorful
Package color makes logs colorful
Package pkg is a generated protocol buffer package.
Package pkg is a generated protocol buffer package.
Package router resolve network package route and find the right method to call
Package router resolve network package route and find the right method to call
Package service is main loop logic
Package service is main loop logic
Package session stores client data in memory
Package session stores client data in memory
Package transfer defines how server and client connect to each other
Package transfer defines how server and client connect to each other
base
Package base provide common logic to transfer
Package base provide common logic to transfer
tcp
Package tcp is a tcp implement to transfer
Package tcp is a tcp implement to transfer
websocket
Package websocket is a websocket implement to transfer
Package websocket is a websocket implement to transfer
wss
Package websocket is a websocket implement to transfer
Package websocket is a websocket implement to transfer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL