misc

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenUid

func GenUid() int64

func GetLogLevel

func GetLogLevel() string

func GetName

func GetName() string

func GetNameBad

func GetNameBad() string

func GetRedisExpire

func GetRedisExpire() int64

func GetRedisKey

func GetRedisKey(uid int64) string

func GetSex

func GetSex() int64

func GetSexBad

func GetSexBad() int64

func GetUid

func GetUid() int64

func GetUidBad

func GetUidBad() int64

func GetValidateError

func GetValidateError(err error) *map[string]interface{}

GetValidateError get validate error.

func MakePongMsg

func MakePongMsg(s string) string

MakePongMsg make pong msg.

func MapValidateError

func MapValidateError(err error) (int64, error)

MapValidateError map validate error.

func MapValidateErrorX

func MapValidateErrorX(err error) error

MapValidateErrorX map validate error.

func SetLogLevel

func SetLogLevel(l string)

func SetRedisExpire

func SetRedisExpire(time int64)

func StrInt

func StrInt(intx int64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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