uuid5

package module
v0.1.2-0...-482f5f2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 2 Imported by: 1

README

Global Names UUID5 Generator

It is a simple web server which takes strings and creates a corresponding UUID version 5 using DNS globalnames.org as a namespace. More information about UUID version 5 creation can be found at RFC-4122

Compiling

  1. Setup standard Go environment http://golang.org/doc/code.html and ensure that $GOPATH environment variable properly set.
  2. go get github.com/GlobalNamesArchitecture/uuid5.
  3. cd $GOPATH/src/github.com/GlobalNamesArchitecture/uuid5
  4. go build to get binary

Usage

./uuid5 --port 80 --url http://your_url

Documentation

Overview

Package uuid5 creates UUID v5 in DNS globalnames.org namespace

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLineDelimited

func NewLineDelimited(newLineDelim string) []uuid.UUID

NewLineDelimited takes names separated by \n (line feed) and returns their UUID5

func PipeDelimited

func PipeDelimited(pipeDelim string) []uuid.UUID

PipeDelimited takes names separated by | and returns their UUID5

func String

func String(uuid uuid.UUID) string

String converts one UUID5 to its string representation

func Strings

func Strings(uuids []uuid.UUID) []string

Strings converts array of UUIDs to their string representation

func UUID5

func UUID5(input string) uuid.UUID

UUID5 returns UUID version 5 generated from a string

func UUID5s

func UUID5s(input []string) []uuid.UUID

UUID5s returns array of UUIDs v5 generated from an array of strings

Types

This section is empty.

Directories

Path Synopsis
Web and socker server to generate UUID5 for Global Names
Web and socker server to generate UUID5 for Global Names

Jump to

Keyboard shortcuts

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