Documentation ¶
Index ¶
- type Controller
- func (uc *Controller) AddBots(c *gin.Context)
- func (fc *Controller) CopyFile(c *gin.Context)
- func (fc *Controller) CreateFile(c *gin.Context)
- func (fc *Controller) CreateShare(c *gin.Context)
- func (fc *Controller) DeleteFiles(c *gin.Context)
- func (fc *Controller) DeleteShare(c *gin.Context)
- func (uc *Controller) DeleteUploadFile(c *gin.Context)
- func (sc *Controller) DownloadSharedFile(c *gin.Context)
- func (fc *Controller) EditShare(c *gin.Context)
- func (fc *Controller) GetCategoryStats(c *gin.Context)
- func (fc *Controller) GetFileByID(c *gin.Context)
- func (fc *Controller) GetFileDownload(c *gin.Context)
- func (fc *Controller) GetFileStream(c *gin.Context)
- func (uc *Controller) GetProfilePhoto(c *gin.Context)
- func (ac *Controller) GetSession(c *gin.Context)
- func (fc *Controller) GetShareByFileId(c *gin.Context)
- func (sc *Controller) GetShareById(c *gin.Context)
- func (uc *Controller) GetStats(c *gin.Context)
- func (uc *Controller) GetUploadFileById(c *gin.Context)
- func (ac *Controller) HandleMultipleLogin(c *gin.Context)
- func (uc *Controller) ListChannels(c *gin.Context)
- func (fc *Controller) ListFiles(c *gin.Context)
- func (uc *Controller) ListSessions(c *gin.Context)
- func (sc *Controller) ListShareFiles(c *gin.Context)
- func (ac *Controller) LogIn(c *gin.Context)
- func (ac *Controller) Logout(c *gin.Context)
- func (fc *Controller) MakeDirectory(c *gin.Context)
- func (fc *Controller) MoveDirectory(c *gin.Context)
- func (fc *Controller) MoveFiles(c *gin.Context)
- func (uc *Controller) RemoveBots(c *gin.Context)
- func (uc *Controller) RemoveSession(c *gin.Context)
- func (sc *Controller) ShareUnlock(c *gin.Context)
- func (sc *Controller) StreamSharedFile(c *gin.Context)
- func (uc *Controller) UpdateChannel(c *gin.Context)
- func (fc *Controller) UpdateFile(c *gin.Context)
- func (fc *Controller) UpdateParts(c *gin.Context)
- func (uc *Controller) UploadFile(c *gin.Context)
- func (uc *Controller) UploadStats(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { FileService *services.FileService UserService *services.UserService UploadService *services.UploadService AuthService *services.AuthService }
func NewController ¶
func NewController(fileService *services.FileService, userService *services.UserService, uploadService *services.UploadService, authService *services.AuthService, shareService *services.ShareService) *Controller
func (*Controller) AddBots ¶
func (uc *Controller) AddBots(c *gin.Context)
func (*Controller) CopyFile ¶
func (fc *Controller) CopyFile(c *gin.Context)
func (*Controller) CreateFile ¶
func (fc *Controller) CreateFile(c *gin.Context)
func (*Controller) CreateShare ¶
func (fc *Controller) CreateShare(c *gin.Context)
func (*Controller) DeleteFiles ¶
func (fc *Controller) DeleteFiles(c *gin.Context)
func (*Controller) DeleteShare ¶
func (fc *Controller) DeleteShare(c *gin.Context)
func (*Controller) DeleteUploadFile ¶
func (uc *Controller) DeleteUploadFile(c *gin.Context)
func (*Controller) DownloadSharedFile ¶
func (sc *Controller) DownloadSharedFile(c *gin.Context)
func (*Controller) EditShare ¶
func (fc *Controller) EditShare(c *gin.Context)
func (*Controller) GetCategoryStats ¶
func (fc *Controller) GetCategoryStats(c *gin.Context)
func (*Controller) GetFileByID ¶
func (fc *Controller) GetFileByID(c *gin.Context)
func (*Controller) GetFileDownload ¶
func (fc *Controller) GetFileDownload(c *gin.Context)
func (*Controller) GetFileStream ¶
func (fc *Controller) GetFileStream(c *gin.Context)
func (*Controller) GetProfilePhoto ¶
func (uc *Controller) GetProfilePhoto(c *gin.Context)
func (*Controller) GetSession ¶
func (ac *Controller) GetSession(c *gin.Context)
func (*Controller) GetShareByFileId ¶
func (fc *Controller) GetShareByFileId(c *gin.Context)
func (*Controller) GetShareById ¶
func (sc *Controller) GetShareById(c *gin.Context)
func (*Controller) GetStats ¶
func (uc *Controller) GetStats(c *gin.Context)
func (*Controller) GetUploadFileById ¶
func (uc *Controller) GetUploadFileById(c *gin.Context)
func (*Controller) HandleMultipleLogin ¶
func (ac *Controller) HandleMultipleLogin(c *gin.Context)
func (*Controller) ListChannels ¶
func (uc *Controller) ListChannels(c *gin.Context)
func (*Controller) ListFiles ¶
func (fc *Controller) ListFiles(c *gin.Context)
func (*Controller) ListSessions ¶
func (uc *Controller) ListSessions(c *gin.Context)
func (*Controller) ListShareFiles ¶
func (sc *Controller) ListShareFiles(c *gin.Context)
func (*Controller) LogIn ¶
func (ac *Controller) LogIn(c *gin.Context)
func (*Controller) Logout ¶
func (ac *Controller) Logout(c *gin.Context)
func (*Controller) MakeDirectory ¶
func (fc *Controller) MakeDirectory(c *gin.Context)
func (*Controller) MoveDirectory ¶
func (fc *Controller) MoveDirectory(c *gin.Context)
func (*Controller) MoveFiles ¶
func (fc *Controller) MoveFiles(c *gin.Context)
func (*Controller) RemoveBots ¶
func (uc *Controller) RemoveBots(c *gin.Context)
func (*Controller) RemoveSession ¶
func (uc *Controller) RemoveSession(c *gin.Context)
func (*Controller) ShareUnlock ¶
func (sc *Controller) ShareUnlock(c *gin.Context)
func (*Controller) StreamSharedFile ¶
func (sc *Controller) StreamSharedFile(c *gin.Context)
func (*Controller) UpdateChannel ¶
func (uc *Controller) UpdateChannel(c *gin.Context)
func (*Controller) UpdateFile ¶
func (fc *Controller) UpdateFile(c *gin.Context)
func (*Controller) UpdateParts ¶
func (fc *Controller) UpdateParts(c *gin.Context)
func (*Controller) UploadFile ¶
func (uc *Controller) UploadFile(c *gin.Context)
func (*Controller) UploadStats ¶
func (uc *Controller) UploadStats(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.