Documentation ¶
Index ¶
- func AnalyzeToken(token string) (*define.UserClaim, error)
- func FormatErrorLog(err error) string
- func GenerateToken(id int, identity string, userName string, second int) (error, string)
- func GetFileType(ext string) string
- func GetUUID() string
- func MailSendCode(mail, code string) error
- func Md5ToString(s string) string
- func RandCode() string
- func UploadFileToMinio(r *http.Request) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateToken ¶
GenerateToken 生成token
func GetFileType ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.