harlanc / netgo

Netgo is a network synchronization engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NetGo

Go Report Card

Netgo is a Flexible,Powerful,Friendly network synchronization engine,it can be used for VR Application.And new features are under development..

FeatureList

  • Support Room concept
  • Support multiple synchronization ways,including RPC and view sync
  • Support custom event
  • Support Lobby concept
  • Support Load Balance
  • ...

Start Server

Environment

Netgo can be run under MacOS/Ubuntu/Centos.

Clone

Issue the following command to clone the server codes to local:

git clone https://github.com/netgo-framework/netgo.git

Get dependencies

Go to the netgo root folder and issue the following commad:

go get -d ./...

Change port

Open main.go and update the ip and port:

tcpAddr, err := net.ResolveTCPAddr("tcp", "0.0.0.0:8686")

Start Netgo

go run main.go

How to Run Client Demo

Following the netgo-unity-client README to run the client Demo.

Third Party Packages

About

Netgo is a network synchronization engine

License:MIT License


Languages

Language:Go 100.0%