uuid-service

command module
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2016 License: MIT Imports: 20 Imported by: 0

README

uuid-service

Very simple uuid generator as a service

Defaults to port 3000

Install

Using go get

go get github.com/jesusrmoreno/uuid-service
uuid-service --port="8080" --dbPath="databasePath"

From release

Download the version for your OS from the releases page. Releases

#API

Get a new ID

/new/uuid_v4
/new/squid
/new/simplesquid

Returns a new UUID and saves it under the provided namespace

/{namespace}/new/uuid_v4
/{namespace}/new/squid
/{namespace}/new/simplesquid

Returns all ids in the given namespace

/{namespace}/

Returns a new UUID and saves it under the provided namespace

/{namespace}/id
/{namespace}/squid

Returns true if an id exists under that namespace

/{namespace}/contains/{uuid}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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