A Swan service provider application using the Gin web framework.
- Go 1.16 or higher
- Clone the repository:
git clone https://github.com/lagrangedao/go-computing-provider.git
cd go-computing-provider
- Install dependencies:
go mod tidy
- Create a config.toml file by copying the config.toml.sample file and updating the values.
cp config.toml.sample config.toml
- start a redis stack
docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest
To run the application, use the go run command:
go run main.go
The server will start listening on 0.0.0.0:8085.
This project is licensed under the MIT License - see the LICENSE file for details.