Documentation ¶
Index ¶
- func Down(c *gin.Context)
- func Get(c *gin.Context)
- func GlobalSearch(c *gin.Context)
- func Info(c *gin.Context)
- func LocalSearch(c *gin.Context)
- func OfficePreview(c *gin.Context)
- func Path(c *gin.Context)
- func Proxy(c *gin.Context)
- func RebuildTree(c *gin.Context)
- func VideoPreview(c *gin.Context)
- func VideoPreviewPlayInfo(c *gin.Context)
- type DownReq
- type GetReq
- type OfficePreviewReq
- type PathReq
- type ProxyReq
- type RebuildReq
- type Response
- type SearchReq
- type VideoPreviewReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GlobalSearch ¶ added in v1.0.0
func LocalSearch ¶ added in v1.0.0
func OfficePreview ¶ added in v0.1.6
handle office_preview request
func VideoPreview ¶ added in v1.0.2
VideoPreview handle video_preview request
func VideoPreviewPlayInfo ¶ added in v1.0.6
Types ¶
type GetReq ¶ added in v1.0.0
type GetReq struct { Path string `json:"path" binding:"required"` Password string `json:"password"` }
get request bean
type OfficePreviewReq ¶ added in v1.0.0
type OfficePreviewReq struct {
FileId string `json:"file_id" binding:"required"`
}
type PathReq ¶ added in v1.0.0
type PathReq struct { Path string `json:"path" binding:"required"` Password string `json:"password"` }
path request bean
type RebuildReq ¶ added in v1.0.4
type Response ¶ added in v1.0.5
type Response struct { Code int `json:"code"` Data interface{} `json:"data"` Message string `json:"message"` }
func DataResponse ¶ added in v0.1.5
func DataResponse(data interface{}) Response
DataResponse common data response
func MetaResponse ¶ added in v0.1.5
MetaResponse common meta response
type VideoPreviewReq ¶ added in v1.0.2
type VideoPreviewReq struct {
FileId string `json:"file_id" binding:"required"`
}
Click to show internal directories.
Click to hide internal directories.