/go-computing-provider

A golang implementation of computing provider

Primary LanguageGoMIT LicenseMIT

go-computing-provider

A Swan service provider application using the Gin web framework.

Prerequisites

  • Go 1.16 or higher

Installation

  1. Clone the repository:
git clone https://github.com/lagrangedao/go-computing-provider.git
cd go-computing-provider
  1. Install dependencies:
go mod tidy
  1. Create a config.toml file by copying the config.toml.sample file and updating the values.
cp config.toml.sample config.toml
  1. start a redis stack
docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest

Running the Application

To run the application, use the go run command:

go run main.go

The server will start listening on 0.0.0.0:8085.

License

This project is licensed under the MIT License - see the LICENSE file for details.