1 Star 5 Fork 2

糖水不加糖 / goframe-websocket

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.MD

deploy and run

  • host

    • gf build
    • git push
  • server

    • git clone
    • chmod 777 ./*.sh
    • mkdir ../server-1
    • mkdir ../server-2
    • copy manifest in server-1,server-2 and edit config/config.yaml->server.address(unique) and idGenerator.workId by [X] or unique
    • sudo ./setup.sh
  • multi slave

    • add server[X].sh
    • mkdir ../server-[X]
    • manifest in server-[X] and edit config/config.yaml->server.address

gateway(nginx)

upstream ServerGroup{
  server 127.0.0.1:8200;
  server 127.0.0.1:8201 backup;
}
server{
    location / {
      proxy_pass http://ServerGroup;
    }
}

About

golang实现的websocket用例 expand collapse
Go
MulanPSL-2.0
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Go
1
https://gitee.com/tsbjt/goframe-websocket.git
git@gitee.com:tsbjt/goframe-websocket.git
tsbjt
goframe-websocket
goframe-websocket
master

Search