Documentation ¶
Index ¶
- func AddOfflineDownload(c *gin.Context)
- func BeginAuthnLogin(c *gin.Context)
- func BeginAuthnRegistration(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 DelUserCache(c *gin.Context)
- func DeleteAuthnLogin(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 FinishAuthnLogin(c *gin.Context)
- func FinishAuthnRegistration(c *gin.Context)
- func FsBatchRename(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 GetAuthnCredentials(c *gin.Context)
- func GetDriverInfo(c *gin.Context)
- func GetMeta(c *gin.Context)
- func GetOIDCClient(c *gin.Context) (*oauth2.Config, error)
- 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 LogOut(c *gin.Context)
- func Login(c *gin.Context)
- func LoginHash(c *gin.Context)
- func LoginLdap(c *gin.Context)
- func OIDCLoginCallback(c *gin.Context)
- func OfflineDownloadTools(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 SetTransmission(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 AddOfflineDownloadReq
- type BatchRenameReq
- type DirReq
- type DirResp
- type FsGetReq
- type FsGetResp
- type FsListResp
- type FsOtherReq
- 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 SetTransmissionReq
- type TaskInfo
- type UpdateIndexReq
- type UserResp
- type Verify2FAReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddOfflineDownload ¶ added in v3.29.0
func BeginAuthnLogin ¶ added in v3.26.0
func BeginAuthnRegistration ¶ added in v3.26.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 DelUserCache ¶ added in v3.25.0
func DeleteAuthnLogin ¶ added in v3.26.0
func DeleteMeta ¶
func DeleteSetting ¶
func DeleteStorage ¶
func DeleteUser ¶
func DisableStorage ¶
func EnableStorage ¶
func FinishAuthnLogin ¶ added in v3.26.0
func FinishAuthnRegistration ¶ added in v3.26.0
func FsBatchRename ¶ added in v3.20.0
func FsRecursiveMove ¶ added in v3.14.0
func FsRegexRename ¶ added in v3.14.0
func FsRemoveEmptyDirectory ¶ added in v3.16.0
func Generate2FA ¶
func GetAuthnCredentials ¶ added in v3.26.0
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 OIDCLoginCallback ¶ added in v3.19.0
func OfflineDownloadTools ¶ added in v3.29.0
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 SetTransmission ¶ added in v3.38.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 AddOfflineDownloadReq ¶ added in v3.29.0
type BatchRenameReq ¶ added in v3.20.0
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 ObjResp ¶
type ObjResp struct { Name string `json:"name"` Size int64 `json:"size"` IsDir bool `json:"is_dir"` Modified time.Time `json:"modified"` Created time.Time `json:"created"` Sign string `json:"sign"` Thumb string `json:"thumb"` Type int `json:"type"` HashInfoStr string `json:"hashinfo"` HashInfo map[*utils.HashType]string `json:"hash_info"` }
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 SetTransmissionReq ¶ added in v3.38.0
type UpdateIndexReq ¶ added in v3.9.0
type Verify2FAReq ¶
Click to show internal directories.
Click to hide internal directories.