Documentation ¶
Index ¶
Constants ¶
View Source
const ( CacheSmToken = "sm-token" SmGetApiTokenUrl = "https://sm.ms/api/v2/token" // 获取sm.ms token )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmApiHandler ¶
type SmApiHandler struct{}
func (*SmApiHandler) GetApiToken ¶
func (sm *SmApiHandler) GetApiToken(c *gin.Context)
GetApiToken 获取sm.ms token https://doc.sm.ms/#api-Image-Upload User - Get API-Token
Click to show internal directories.
Click to hide internal directories.