customerroute

command
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: MIT Imports: 14 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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