Documentation ¶
Overview ¶
* @Author: alexander.huang * @Date: 2022-05-19 03:10:11 * @Last Modified by: alexander.huang * @Last Modified time: 2022-05-18 03:10:11
* @Author: alexander.huang * @Date: 2022-05-18 19:10:11 * @Last Modified by: alexander.huang * @Last Modified time: 2022-05-18 19:10:11
* @Author: alexander.huang * @Date: 2022-05-19 01:14:50 * @Last Modified by: alexander.huang * @Last Modified time: 2022-05-23 21:40:51
* @Author: alexander.huang * @Date: 2022-05-19 01:14:50 * @Last Modified by: alexander.huang * @Last Modified time: 2022-05-23 21:40:51
* @Author: alexander.huang * @Date: 2022-05-19 03:10:11 * @Last Modified by: alexander.huang * @Last Modified time: 2022-05-18 03:10:11
Index ¶
- func BcryptMake(pwd []byte) string
- func BcryptMakeCheck(pwd []byte, hashedPwd string) bool
- func CheckName(name string) bool
- func CheckPasswd(passwd string) bool
- func GetSnapshot(videoPath, snapshotPath string, frameNum int) (snapshotName string)
- func MD5(str []byte, b ...byte) string
- func NewS3Client() *s3.Client
- func PathExists(path string) (bool, error)
- func RandString(len int) string
- func StrToInt32(str string) int32
- func StrToInt64(str string) int64
- func StrToUint32(str string) uint64
- func StrToUint64(str string) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswd ¶
func GetSnapshot ¶
GetSnapshot 生成视频缩略图并保存(作为封面)
func NewS3Client ¶
func RandString ¶
func StrToInt32 ¶
func StrToInt64 ¶
func StrToUint32 ¶
func StrToUint64 ¶
Types ¶
This section is empty.