Documentation ¶
Index ¶
- func Bool(v bool) *bool
- func CheckPasswordHash(password, hash string) bool
- func Float32(v float32) *float32
- func Float64(v float64) *float64
- func HashPassword(password string) (string, error)
- func Int32(v int32) *int32
- func Int64(v int64) *int64
- func MD5(str string) string
- func RandStringBytesMaskImprSrcUnsafe(n int) string
- func ReadFrameAsJpeg(filePath string) ([]byte, error)
- func String(v string) *string
- func Uint32(v uint32) *uint32
- func Uint64(v uint64) *uint64
- func Use(vals ...interface{})
- func ValidatePassword(password string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
func HashPassword ¶
func ReadFrameAsJpeg ¶
ReadFrameAsJpeg 从视频流中截取一帧并返回 需要在本地环境中安装 ffmpeg 并将 bin 添加到环境变量
func ValidatePassword ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.