license-manager

command module
v0.0.0-...-d405c9c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2023 License: MIT Imports: 6 Imported by: 0

README

License Manager

CircleCI Go Report Card

Manage application licenses with versions

Purpose of Repo

This repo is a playground for apply and learn news from Golang

Currently it is used:

Dependences

license-manager expects a PostgreSQL instance

Environment Variables

  • DATABASE_DSN
  • PORT

Build

go build main.go

Examples

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL