identifier

package
v0.0.0-demo Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2018 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Mint() (string, error)
}

Service the interface for a service that mints identifiers

func NewRemoteIdentifierService

func NewRemoteIdentifierService(config *config.Config) Service

NewRemoteIdentifierService creates a new instance of the identifier service

func NewService

func NewService(config *config.Config) Service

func NewUUIDService

func NewUUIDService() Service

NewUUIDService creates a new instance of the UUID identifier service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳