Documentation ¶
Index ¶
- Constants
- Variables
- type Ftp
- func (f Ftp) Cat(path string) (io.ReadCloser, error)
- func (f Ftp) Close() error
- func (f Ftp) Home() (string, error)
- func (f Ftp) Init(params map[string]string, app *App) (IBackend, error)
- func (f Ftp) LoginForm() Form
- func (f Ftp) Ls(path string) ([]os.FileInfo, error)
- func (f Ftp) Mkdir(path string) error
- func (f Ftp) Mv(from string, to string) error
- func (f Ftp) Rm(path string) error
- func (f Ftp) Save(path string, file io.Reader) error
- func (f Ftp) Touch(path string) error
- type GDrive
- func (g GDrive) Cat(path string) (io.ReadCloser, error)
- func (g GDrive) Init(params map[string]string, app *App) (IBackend, error)
- func (g GDrive) LoginForm() Form
- func (g GDrive) Ls(path string) ([]os.FileInfo, error)
- func (g GDrive) Mkdir(path string) error
- func (g GDrive) Mv(from string, to string) error
- func (g GDrive) OAuthToken(ctx *map[string]interface{}) error
- func (g GDrive) OAuthURL() string
- func (g GDrive) Rm(path string) error
- func (g GDrive) Save(path string, reader io.Reader) error
- func (g GDrive) Touch(path string) error
- type GDriveMarker
- type Git
- func (g Git) Cat(path string) (io.ReadCloser, error)
- func (g Git) Close() error
- func (git Git) Init(params map[string]string, app *App) (IBackend, error)
- func (g Git) LoginForm() Form
- func (g Git) Ls(path string) ([]os.FileInfo, error)
- func (g Git) Mkdir(path string) error
- func (g Git) Mv(from string, to string) error
- func (g Git) Rm(path string) error
- func (g Git) Save(path string, file io.Reader) error
- func (g Git) Touch(path string) error
- type GitLib
- type GitParams
- type S3Backend
- func (s S3Backend) Cat(path string) (io.ReadCloser, error)
- func (s S3Backend) Init(params map[string]string, app *App) (IBackend, error)
- func (s S3Backend) LoginForm() Form
- func (s S3Backend) Ls(path string) ([]os.FileInfo, error)
- func (s S3Backend) Meta(path string) Metadata
- func (s S3Backend) Mkdir(path string) error
- func (s S3Backend) Mv(from string, to string) error
- func (s S3Backend) Rm(path string) error
- func (s S3Backend) Save(path string, file io.Reader) error
- func (s S3Backend) Touch(path string) error
- type S3Path
- type Sftp
- func (b Sftp) Cat(path string) (io.ReadCloser, error)
- func (b Sftp) Close() error
- func (b Sftp) Home() (string, error)
- func (s Sftp) Init(params map[string]string, app *App) (IBackend, error)
- func (b Sftp) LoginForm() Form
- func (b Sftp) Ls(path string) ([]os.FileInfo, error)
- func (b Sftp) Mkdir(path string) error
- func (b Sftp) Mv(from string, to string) error
- func (b Sftp) Rm(path string) error
- func (b Sftp) Save(path string, file io.Reader) error
- func (b Sftp) Stat(path string) (os.FileInfo, error)
- func (b Sftp) Touch(path string) error
- type WebDav
- func (w WebDav) Cat(path string) (io.ReadCloser, error)
- func (w WebDav) Init(params map[string]string, app *App) (IBackend, error)
- func (w WebDav) LoginForm() Form
- func (w WebDav) Ls(path string) ([]os.FileInfo, error)
- func (w WebDav) Mkdir(path string) error
- func (w WebDav) Mv(from string, to string) error
- func (w WebDav) Rm(path string) error
- func (w WebDav) Save(path string, file io.Reader) error
- func (w WebDav) Touch(path string) error
- type WebDavParams
- type WebDavResp
Constants ¶
View Source
const GitCachePath = "data/cache/git/"
Variables ¶
View Source
var FtpCache AppCache
View Source
var GitCache AppCache
View Source
var S3Cache AppCache
View Source
var SftpCache AppCache
Functions ¶
This section is empty.
Types ¶
type GDrive ¶
func (GDrive) OAuthToken ¶
type GDriveMarker ¶
type GDriveMarker struct {
// contains filtered or unexported fields
}
type S3Backend ¶
type S3Backend struct {
// contains filtered or unexported fields
}
type WebDavParams ¶
type WebDavParams struct {
// contains filtered or unexported fields
}
type WebDavResp ¶
type WebDavResp struct { Responses []struct { Href string `xml:"href"` Props []struct { Name string `xml:"prop>displayname,omitempty"` Type xml.Name `xml:"prop>resourcetype>collection,omitempty"` Size int64 `xml:"prop>getcontentlength,omitempty"` Modified string `xml:"prop>getlastmodified,omitempty"` } `xml:"propstat"` } `xml:"response"` }
Click to show internal directories.
Click to hide internal directories.