tool

package
v0.0.0-...-17c3845 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeSHA1

func EncodeSHA1(str string) string

EncodeSHA1 encodes string to SHA1 hex value.

func Int64sToStrings

func Int64sToStrings(ints []int64) []string

Int64sToStrings converts a slice of int64 to a slice of string.

func NewSecretToekn

func NewSecretToekn() string

NewSecretToekn generates and returns a random secret token based on SHA1.

Types

This section is empty.

Jump to

Keyboard shortcuts

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