We use this project for real-time communication between our clients and server!
First, ensure that you have installed Go 1.11 or higher since we need the support for Go modules via go mod. Go modules via go mod
gRPC.server We use gRPC server as rest api! gRPC.server project
$ git clone https://github.com/CastyLab/gateway.server.git
Make a copy of config.example.yml for your own configuration. save it as config.yml file.
$ cp config.example.yml config.yml
Put your running grpc.server connection details
grpc:
host: "localhost"
port: 55283
You're ready to Go!
you can simply run the project with following command
$ go run server.go
or if you're considering building the project use
$ go build -o server .
$ docker build . --tag=casty.gateway
$ docker run -dp --restart=always 3000:3000 casty.gateway
Thank you for considering contributing to this project!
Content type
Image
Digest
Size
376.9 MB
Last updated
over 5 years ago
docker pull castylab/gateway