A basic microservice for cloud configurations of your project. Uses MySQL for data storage. Multi-threaded and non-blocking, designed for maximum performance.
cd cmd
go build -o cloud
./cloud
DSN - MySQL Connection Data (Example: log:pass@/dbname?parseTime=true)
You can see statistics on the use of resources by the microservice at yourserver.com/metrics
- Basic CRUD Operations
- Security
- C++ API Client Example
POST /api/v1/save
Parameter | Type | Description |
---|---|---|
username |
string |
Required. Username |
data |
string |
Required. Any content you wanna save. |
POST /api/v1/getAll
Parameter | Type | Description |
---|---|---|
username |
string |
Required. Username |
POST /api/v1/get
Parameter | Type | Description |
---|---|---|
username |
string |
Required. Username |
uid |
string |
Required. System configuration ID. |
POST /api/v1/save
Parameter | Type | Description |
---|---|---|
username |
string |
Required. Username |
uid |
string |
Required. System configuration ID. |
data |
string |
Required. Any content you wanna save. |
POST /api/v1/delete
Parameter | Type | Description |
---|---|---|
username |
string |
Required. Username |
uid |
string |
Required. System configuration ID. |