Documentation ¶
Index ¶
Constants ¶
View Source
const ( // InvalidUID - userID invalid InvalidUID = 0 // FileKey - key of the file FileKey = "file" // FileUploadDir - the root directory of the upload files FileUploadDir = "files" // PictureDir - save pictures file PictureDir = "picture" // VideoDir - save videos file VideoDir = "video" // OtherDir - files other than video and picture OtherDir = "other" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UploadController ¶
type UploadController struct { BaseURL string // contains filtered or unexported fields }
UploadController -
func (*UploadController) RegisterRouter ¶
func (u *UploadController) RegisterRouter(r gin.IRouter)
RegisterRouter -
Click to show internal directories.
Click to hide internal directories.