Documentation ¶
Overview ¶
package manage ui apis
Index ¶
- Variables
- func DelSession(c *gin.Context)
- func GetFileInfos(c *gin.Context)
- func GetFiles(c *gin.Context)
- func GetStatus(c *gin.Context)
- func GetSyncing(c *gin.Context)
- func GetUploaded(c *gin.Context)
- func GetUploading(c *gin.Context)
- func InitResource(engine *gin.Engine) *gin.Engine
- func ManageRouter(g *gin.Engine)
- type HtmlHandler
- type Res
- type SyncInfoRes
Constants ¶
This section is empty.
Variables ¶
View Source
var StartTime int64
StartTime
Functions ¶
Types ¶
type HtmlHandler ¶
type HtmlHandler struct{}
HtmlHandler
func (*HtmlHandler) RedirectIndex ¶
func (h *HtmlHandler) RedirectIndex(c *gin.Context)
RedirectIndex 重定向
type Res ¶
type Res struct { Session models.UploadSession `json:"upload_session"` FileInfo models.File `json:"file_info"` Status string `json:"status"` }
Res
type SyncInfoRes ¶ added in v0.7.5
type SyncInfoRes struct { Session models.SyncSession `json:"upload_session"` FileInfo models.File `json:"file_info"` Status string `json:"status"` }
Res
Click to show internal directories.
Click to hide internal directories.