Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebDAVAccountCreateService ¶
type WebDAVAccountCreateService struct { Path string `json:"path" binding:"required,min=1,max=65535"` Name string `json:"name" binding:"required,min=1,max=255"` }
WebDAVAccountCreateService WebDAV 账号创建服务
type WebDAVAccountData ¶
type WebDAVAccountData struct { ID uint `json:"id"` Password string `json:"password"` CreatedAt time.Time `json:"created_at"` }
WebDAV账户
type WebDAVAccountList ¶
type WebDAVAccountList struct { Accounts []models.Webdav `json:"accounts"` Folders []serializer.MountedFolders `json:"folders"` }
WebDAV账号列表
type WebDAVAccountService ¶
type WebDAVAccountService struct {
ID uint `json:"id" uri:"id" binding:"required,min=1"`
}
WebDAVAccountService WebDAV 账号管理服务
type WebDAVAccountUpdateReadonlyService ¶
type WebDAVAccountUpdateReadonlyService struct { ID uint `json:"id" binding:"required,min=1"` Readonly bool `json:"readonly"` }
WebDAVAccountUpdateReadonlyService WebDAV 修改只读性服务
type WebDAVAccountUpdateService ¶
type WebDAVAccountUpdateService struct { ID uint `json:"id" binding:"required,min=1"` Readonly *bool `json:"readonly" binding:"required_without=UseProxy"` UseProxy *bool `json:"use_proxy" binding:"required_without=Readonly"` }
WebDAVAccountUpdateService WebDAV 修改只读性和是否使用代理服务
type WebDAVMountCreateService ¶
type WebDAVMountCreateService struct { Path string `json:"path" binding:"required,min=1,max=65535"` Policy string `json:"policy" binding:"required,min=1"` }
WebDAVMountCreateService WebDAV 挂载创建服务
Click to show internal directories.
Click to hide internal directories.