utils

package
v0.0.0-...-6b04d54 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// MaxMsgSize :
	MaxMsgSize = 20 * 1024 * 1024
)

Functions

func CheckNilParams

func CheckNilParams(args map[string]interface{}) []string

CheckNilParams :

func GetBuffer

func GetBuffer() []byte

GetBuffer :

func GetRandomStr

func GetRandomStr(length int) (string, error)

GetRandomStr : Get a random URL encoded string

func HexToString

func HexToString(bytes []byte) string

HexToString :

func IfNilAny

func IfNilAny(args []interface{}) bool

IfNilAny :

func NewHash

func NewHash() hash.Hash

NewHash : hash for check sums

func NewUUID

func NewUUID() string

NewUUID :

func PutBuffer

func PutBuffer(buf []byte)

PutBuffer :

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