utils

package
v0.27.8 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashPassword

func HashPassword(password string) string

func Http

func Http(r *http.Request)

func Log

func Log(level int, err interface{})

func NewSHA1Hash

func NewSHA1Hash(n ...int) string

func Panic

func Panic(err interface{})

func RandomString

func RandomString(n int) string

RandomString generates a random string of n length

func ReportLog

func ReportLog()

func StringInt

func StringInt(s string) int64

func UnderScoreString

func UnderScoreString(str 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