utils

package
v0.0.0-...-3502bef Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenRandIntN

func GenRandIntN(e int) int

func GenRandIntRange

func GenRandIntRange(s int, e int) int

GenRandIntRange 随机区间[s ,e)

func GenSign

func GenSign(token string, timestamp string, signKey string) string

GenSign ...

func GenToken

func GenToken() string

GenToken 创建token

Types

This section is empty.

Jump to

Keyboard shortcuts

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