Documentation ¶
Index ¶
- func CosInitPart(ext string) (string, string, error)
- func CosPartUpload(r *http.Request) (string, error)
- func CosPartUploadComplete(key, uploadId string, co []cos.Object) error
- func CosUpLoad(r *http.Request) (string, error)
- func GenerateToken(id int64, identity, name string, second int) (string, error)
- func GetRand() string
- func Md5(s string) string
- func SendCode(toUserEmail, code string) error
- func UUID() string
- type UserClaims
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CosPartUploadComplete ¶
func GenerateToken ¶
生成 token
Types ¶
type UserClaims ¶
Click to show internal directories.
Click to hide internal directories.