package
0.5.1
Repository: https://github.com/lonng/nano.git
Documentation: pkg.go.dev

# README

Nano cluster example

About this example

How to run the example?

cd examples/customerroute
go build

# run master server
./customerroute master
./customerroute chat --listen "127.0.0.1:34580"
./customerroute chat --listen "127.0.0.1:34581"
./customerroute gate --listen "127.0.0.1:34570" --gate-address "127.0.0.1:34590"

open browser and visit url for 4 times

http://127.0.0.1:12345/web/ 
http://127.0.0.1:12345/web/ 
http://127.0.0.1:12345/web/ 
http://127.0.0.1:12345/web/     

input content and send, the same ChatRoomService node will sync the message each other

# Packages