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 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 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 TaskInfo
- type UpdateIndexReq
- type UserResp
- type Verify2FAReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddOfflineDownload ¶
func BeginAuthnLogin ¶
func BeginAuthnRegistration ¶
func BuildIndex ¶
func Cancel2FAById ¶
func ClearIndex ¶
func CreateMeta ¶
func CreateStorage ¶
func CreateUser ¶
func CurrentUser ¶
CurrentUser get current user by token if token is empty, return guest user
func DelUserCache ¶
func DeleteAuthnLogin ¶
func DeleteMeta ¶
func DeleteSetting ¶
func DeleteStorage ¶
func DeleteUser ¶
func DisableStorage ¶
func EnableStorage ¶
func FinishAuthnLogin ¶
func FinishAuthnRegistration ¶
func FsBatchRename ¶
func FsRecursiveMove ¶
func FsRegexRename ¶
func FsRemoveEmptyDirectory ¶
func Generate2FA ¶
func GetAuthnCredentials ¶
func GetDriverInfo ¶
func GetProgress ¶
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 ¶
func OIDCLoginCallback ¶
func OfflineDownloadTools ¶
func PublicSettings ¶
func ResetToken ¶
func SSOLoginCallback ¶
func SSOLoginRedirect ¶
func SaveSettings ¶
func SetQbittorrent ¶
func SetupTaskRoute ¶
func SetupTaskRoute(g *gin.RouterGroup)
func UpdateCurrent ¶
func UpdateIndex ¶
func UpdateMeta ¶
func UpdateStorage ¶
func UpdateUser ¶
Types ¶
type AddOfflineDownloadReq ¶
type BatchRenameReq ¶
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 ¶
type RegexRenameReq ¶
type RemoveEmptyDirectoryReq ¶
type RemoveEmptyDirectoryReq struct {
SrcDir string `json:"src_dir"`
}
type SearchResp ¶
type SearchResp struct { model.SearchNode Type int `json:"type"` }
type SetAria2Req ¶
type SetQbittorrentReq ¶
type UpdateIndexReq ¶
type Verify2FAReq ¶
Click to show internal directories.
Click to hide internal directories.