Manage application licenses with versions
This repo is a playground for apply and learn news from Golang
Currently it is used:
license-manager expects a PostgreSQL instance
- DATABASE_DSN
- PORT
go build main.go
Add license
curl -i -H "Content-Type:application/json" -X POST localhost:3000/license -d '{"id": "abcde12345", "version" : "v2", "info": {"user" : "blah", "company" : "xxyyxx"}}'
Get license
curl -i localhost:3000/license/abcde12345/versions/v2