Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateToken ¶
func GetSha256CodeWithSalt ¶
Types ¶
type Claims ¶
type Claims struct { Username string `json:"username"` Password string `json:"password"` jwt.StandardClaims }
func ParseToken ¶
type UpLoadTools ¶
type UpLoadTools struct { server.Smms server.SouGou server.Sina server.Flickr server.OpenApi server.Baidu server.Jd server.Qihoo server.JueJin server.NetEasy server.CC server.Ali }
func (*UpLoadTools) HandleUrl ¶
func (this *UpLoadTools) HandleUrl(apiSelect string, f multipart.File, h *multipart.FileHeader) string
返回不同图床的 URL
Click to show internal directories.
Click to hide internal directories.