Utils

package
v0.0.0-...-958a2e7 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUUID

func CreateUUID() string

create a random UUID with from RFC 4122 adapted from http://github.com/nu7hatch/gouuid

func Encrypt

func Encrypt(plaintext string) string

hash plaintext with SHA-1

func GenerateVerificationCode

func GenerateVerificationCode() string

Generate verification code to verify user

Types

This section is empty.

Jump to

Keyboard shortcuts

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