wspush

module
v0.0.0-...-91a59e6 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: Apache-2.0

README

Instruction

A distributed websocket node

Build

git clone https://github.com/gwaypg/wspush

cd wspush
. env.sh
sup build all

Or

. env.sh
cd cmd/wsnode
go build # or sup build

Run

cd cmd/wsnode
./wsnode

Deployment

origin

cd wspush
PRJ_ROOT=`pwd` ./cmd/wsnode/wsnode

supd

git clone https://github.com/gwaypg/supd
cd supd
. env.sh
cd cmd/supd
./publish.sh
./setup.sh install # uninstall: ./setup.sh clean 

cd wspush
. env.sh
cd cmd/wsnode
sup install
sup status

TODO: more deployments

Directories

Path Synopsis
cmd
wsnode
TODO: 在量大时可能会升级为连接集群
TODO: 在量大时可能会升级为连接集群
module
etc

Jump to

Keyboard shortcuts

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