common

package
v0.0.0-...-df3db6e Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const OrcaPrefix = "orca"

Variables

View Source
var (
	// Used for NotFound errors
	ErrNotFound = errors.New("not found")
	// Used for AlreadyExists errors
	ErrAlreadyExists = errors.New("already exists")
)

Functions

func GenerateUUID

func GenerateUUID() string

Generate a UUID string

func IsAlreadyExist

func IsAlreadyExist(e error) bool

Check if an error is a AlreadyExists

func IsNotFound

func IsNotFound(e error) bool

Check if an error is a NotFound

func NetworkUser

func NetworkUser(n, u string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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