uuid-server

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

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

Go to latest
Published: Apr 2, 2015 License: MIT Imports: 7 Imported by: 0

README

uuid-server

An RESTful server to create universally unique identifiers (version 4).

Build Status

Install

To install and run this service, do:

> go install github.com/ory-am/uuid-server
> <gopath>/bin/uuid-server

Config

To specify which port to listen on, create an environment variable called PORT. Per default, this application listens on port 80.

To specify which host to listen on, create an environment variable called HOST. Per default, this application listens on all hosts (which equals to an empty string).

Usage

To create a new UUID, create a POST request on /. You will receive a JSON response containing:

{
    "id": "c8237384-0ebf-4228-b244-f1104d00f1b4"
}

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