Documentation ¶
Index ¶
- Constants
- Variables
- type Local
- type Minio
- func (m *Minio) Close() error
- func (m *Minio) Delete(fileName string, mode rsync.FileMode) (err error)
- func (m *Minio) GetURI(fileName string) (string, error)
- func (m *Minio) List() (rsync.FileList, error)
- func (m *Minio) ListObj() (rsync.FileList, error)
- func (m *Minio) Put(fileName string, content io.Reader, fileSize int64, ...) (written int64, err error)
- type Teambition
- func (tb *Teambition) Close() error
- func (tb *Teambition) Delete(fileName string, mode rsync.FileMode) (err error)
- func (tb *Teambition) FinishSync() (err error)
- func (tb *Teambition) GetURI(fileName string) (uri string, err error)
- func (tb *Teambition) List() (rsync.FileList, error)
- func (tb *Teambition) Put(fileName string, content io.Reader, fileSize int64, ...) (written int64, err error)
Constants ¶
View Source
const S3_DIR = ".dir.rsync-os"
Variables ¶
View Source
var NotFile = errors.New("it is a dir")
View Source
var NotFound = errors.New("not found key in db")
View Source
var TargetNotFound = errors.New("link target not found")
Functions ¶
This section is empty.
Types ¶
type Minio ¶
type Minio struct {
// contains filtered or unexported fields
}
S3 with cache
type Teambition ¶
type Teambition struct {
// contains filtered or unexported fields
}
func NewTeambition ¶
func (*Teambition) Close ¶
func (tb *Teambition) Close() error
func (*Teambition) Delete ¶
func (tb *Teambition) Delete(fileName string, mode rsync.FileMode) (err error)
func (*Teambition) FinishSync ¶
func (tb *Teambition) FinishSync() (err error)
Click to show internal directories.
Click to hide internal directories.