util

package
v0.0.0-...-fb0b0ba Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2016 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateNewRefreshToken

func GenerateNewRefreshToken() (string, error)

generate new refresh token uuid

func GenerateRandomNumber

func GenerateRandomNumber(min, max int) int

generate random number in range

func IsStringInSlice

func IsStringInSlice(str string, list []string) bool

the helper functions for slice and arrays

func NewAppKey

func NewAppKey() string

generate new app key for new clients

func NewCustomBinderWithValidation

func NewCustomBinderWithValidation() *customBinderWithValidation

func NewRandomPassword

func NewRandomPassword(length int) string

generate new random password

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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