Documentation ¶
Index ¶
- func AddAria2(c *gin.Context)
- func AddQbittorrent(c *gin.Context)
- func BuildIndex(c *gin.Context)
- func Cancel2FAById(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 DeleteMeta(c *gin.Context)
- func DeleteSetting(c *gin.Context)
- func DeleteStorage(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func DisableStorage(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 FsRecursiveMove(c *gin.Context)
- func FsRegexRename(c *gin.Context)
- func FsRemove(c *gin.Context)
- func FsRemoveEmptyDirectory(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 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 Robots(c *gin.Context)
- func SSOLoginCallback(c *gin.Context)
- func SSOLoginRedirect(c *gin.Context)
- func SaveSettings(c *gin.Context)
- func Search(c *gin.Context)
- func SetAria2(c *gin.Context)
- func SetQbittorrent(c *gin.Context)
- func SetupTaskRoute(g *gin.RouterGroup)
- func StopIndex(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 AddQbittorrentReq
- type DirReq
- type DirResp
- type FsGetReq
- type FsGetResp
- type FsListResp
- type FsOtherReq
- type K2Str
- type ListReq
- type LoginReq
- type MkdirOrLinkReq
- type MoveCopyReq
- type ObjResp
- type RecursiveMoveReq
- type RegexRenameReq
- type RemoveEmptyDirectoryReq
- type RemoveReq
- type RenameReq
- type SearchReq
- type SearchResp
- type SetAria2Req
- type SetQbittorrentReq
- type Str2K
- type TaskInfo
- type UpdateIndexReq
- type UserResp
- type Verify2FAReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddQbittorrent ¶ added in v3.11.0
func BuildIndex ¶ added in v3.6.0
func Cancel2FAById ¶
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 DeleteMeta ¶
func DeleteSetting ¶
func DeleteStorage ¶
func DeleteUser ¶
func DisableStorage ¶
func EnableStorage ¶
func FsRecursiveMove ¶ added in v3.14.0
func FsRegexRename ¶ added in v3.14.0
func FsRemoveEmptyDirectory ¶ added in v3.16.0
func Generate2FA ¶
func GetDriverInfo ¶
func GetProgress ¶ added in v3.6.0
func GetSetting ¶
func GetStorage ¶
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 SSOLoginCallback ¶ added in v3.13.0
func SSOLoginRedirect ¶ added in v3.13.0
func SaveSettings ¶
func SetQbittorrent ¶ added in v3.11.0
func SetupTaskRoute ¶ added in v3.11.0
func SetupTaskRoute(g *gin.RouterGroup)
func UpdateCurrent ¶
func UpdateIndex ¶ added in v3.7.1
func UpdateMeta ¶
func UpdateStorage ¶
func UpdateUser ¶
Types ¶
type AddAria2Req ¶
type AddQbittorrentReq ¶ added in v3.11.0
type FsListResp ¶
type FsOtherReq ¶
type FsOtherReq struct { model.FsOtherArgs Password string `json:"password" form:"password"` }
type K2Str ¶ added in v3.11.0
type K2Str[K comparable] func(k K) string
type MkdirOrLinkReq ¶
type MkdirOrLinkReq struct {
Path string `json:"path" form:"path"`
}
type MoveCopyReq ¶
type RecursiveMoveReq ¶ added in v3.14.0
type RegexRenameReq ¶ added in v3.14.0
type RemoveEmptyDirectoryReq ¶ added in v3.16.0
type RemoveEmptyDirectoryReq struct {
SrcDir string `json:"src_dir"`
}
type SearchResp ¶ added in v3.6.0
type SearchResp struct { model.SearchNode Type int `json:"type"` }
type SetAria2Req ¶
type SetQbittorrentReq ¶ added in v3.11.0
type Str2K ¶ added in v3.11.0
type Str2K[K comparable] func(str string) (K, error)
type UpdateIndexReq ¶ added in v3.9.0
type Verify2FAReq ¶
Click to show internal directories.
Click to hide internal directories.