Documentation ¶
Index ¶
- func AddAria2(c *gin.Context)
- func BuildIndex(c *gin.Context)
- func Cancel2FAById(c *gin.Context)
- func CancelCopyTask(c *gin.Context)
- func CancelDownTask(c *gin.Context)
- func CancelTransferTask(c *gin.Context)
- func CancelUploadTask(c *gin.Context)
- func ClearDoneCopyTasks(c *gin.Context)
- func ClearDoneDownTasks(c *gin.Context)
- func ClearDoneTransferTasks(c *gin.Context)
- func ClearDoneUploadTasks(c *gin.Context)
- func ClearIndex(c *gin.Context)
- func CreateMeta(c *gin.Context)
- func CreateStorage(c *gin.Context)
- func CreateUser(c *gin.Context)
- func CurrentUser(c *gin.Context)
- func DeleteCopyTask(c *gin.Context)
- func DeleteDownTask(c *gin.Context)
- func DeleteMeta(c *gin.Context)
- func DeleteSetting(c *gin.Context)
- func DeleteStorage(c *gin.Context)
- func DeleteTransferTask(c *gin.Context)
- func DeleteUploadTask(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func DisableStorage(c *gin.Context)
- func DoneCopyTask(c *gin.Context)
- func DoneDownTask(c *gin.Context)
- func DoneTransferTask(c *gin.Context)
- func DoneUploadTask(c *gin.Context)
- func Down(c *gin.Context)
- func EnableStorage(c *gin.Context)
- func Favicon(c *gin.Context)
- func FsCopy(c *gin.Context)
- func FsDirs(c *gin.Context)
- func FsForm(c *gin.Context)
- func FsGet(c *gin.Context)
- func FsList(c *gin.Context)
- func FsMkdir(c *gin.Context)
- func FsMove(c *gin.Context)
- func FsOther(c *gin.Context)
- func FsRemove(c *gin.Context)
- func FsRename(c *gin.Context)
- func FsStream(c *gin.Context)
- func Generate2FA(c *gin.Context)
- func GetDriverInfo(c *gin.Context)
- func GetMeta(c *gin.Context)
- func GetProgress(c *gin.Context)
- func GetSetting(c *gin.Context)
- func GetStorage(c *gin.Context)
- func GetUser(c *gin.Context)
- func GithubLoginCallback(c *gin.Context)
- func GithubLoginRedirect(c *gin.Context)
- func Link(c *gin.Context)
- func ListDriverInfo(c *gin.Context)
- func ListDriverNames(c *gin.Context)
- func ListMetas(c *gin.Context)
- func ListSettings(c *gin.Context)
- func ListStorages(c *gin.Context)
- func ListUsers(c *gin.Context)
- func LoadAllStorages(c *gin.Context)
- func Login(c *gin.Context)
- func Plist(c *gin.Context)
- func Proxy(c *gin.Context)
- func PublicSettings(c *gin.Context)
- func ResetToken(c *gin.Context)
- func SaveSettings(c *gin.Context)
- func Search(c *gin.Context)
- func SetAria2(c *gin.Context)
- func StopIndex(c *gin.Context)
- func UndoneCopyTask(c *gin.Context)
- func UndoneDownTask(c *gin.Context)
- func UndoneTransferTask(c *gin.Context)
- func UndoneUploadTask(c *gin.Context)
- func UpdateCurrent(c *gin.Context)
- func UpdateIndex(c *gin.Context)
- func UpdateMeta(c *gin.Context)
- func UpdateStorage(c *gin.Context)
- func UpdateUser(c *gin.Context)
- func Verify2FA(c *gin.Context)
- type AddAria2Req
- type DirReq
- type DirResp
- type FsGetReq
- type FsGetResp
- type FsListResp
- type FsOtherReq
- type ListReq
- type LoginReq
- type MkdirOrLinkReq
- type MoveCopyReq
- type ObjResp
- type RemoveReq
- type RenameReq
- type SearchReq
- type SearchResp
- type SetAria2Req
- type TaskInfo
- type UpdateIndexReq
- type UserResp
- type Verify2FAReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildIndex ¶ added in v3.6.0
func Cancel2FAById ¶
func CancelCopyTask ¶
func CancelDownTask ¶
func CancelTransferTask ¶
func CancelUploadTask ¶
func ClearDoneCopyTasks ¶
func ClearDoneDownTasks ¶
func ClearDoneTransferTasks ¶
func ClearDoneUploadTasks ¶
func ClearIndex ¶ added in v3.7.1
func CreateMeta ¶
func CreateStorage ¶
func CreateUser ¶
func CurrentUser ¶
CurrentUser get current user by token if token is empty, return guest user
func DeleteCopyTask ¶
func DeleteDownTask ¶
func DeleteMeta ¶
func DeleteSetting ¶
func DeleteStorage ¶
func DeleteTransferTask ¶
func DeleteUploadTask ¶
func DeleteUser ¶
func DisableStorage ¶
func DoneCopyTask ¶
func DoneDownTask ¶
func DoneTransferTask ¶
func DoneUploadTask ¶
func EnableStorage ¶
func Generate2FA ¶
func GetDriverInfo ¶
func GetProgress ¶ added in v3.6.0
func GetSetting ¶
func GetStorage ¶
func GithubLoginCallback ¶ added in v3.7.1
func GithubLoginRedirect ¶ added in v3.7.1
func Link ¶
Link return real link, just for proxy program, it may contain cookie, so just allowed for admin
func ListDriverInfo ¶
func ListDriverNames ¶
func ListSettings ¶
func ListStorages ¶
func LoadAllStorages ¶ added in v3.7.1
func PublicSettings ¶
func ResetToken ¶
func SaveSettings ¶
func UndoneCopyTask ¶
func UndoneDownTask ¶
func UndoneTransferTask ¶
func UndoneUploadTask ¶
func UpdateCurrent ¶
func UpdateIndex ¶ added in v3.7.1
func UpdateMeta ¶
func UpdateStorage ¶
func UpdateUser ¶
Types ¶
type AddAria2Req ¶
type FsListResp ¶
type FsOtherReq ¶
type FsOtherReq struct { model.FsOtherArgs Password string `json:"password" form:"password"` }
type MkdirOrLinkReq ¶
type MkdirOrLinkReq struct {
Path string `json:"path" form:"path"`
}
type MoveCopyReq ¶
type SearchResp ¶ added in v3.6.0
type SearchResp struct { model.SearchNode Type int `json:"type"` }
type SetAria2Req ¶
type UpdateIndexReq ¶ added in v3.9.0
type Verify2FAReq ¶
Click to show internal directories.
Click to hide internal directories.