Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ops ¶
type Ops interface {
Read(ctx context.Context, host, path string, maxBytes int) (data []byte, isBinary bool, err error)
Write(ctx context.Context, host, path string, content []byte, mode fs.FileMode) error
List(ctx context.Context, host, path string) ([]Entry, error)
}
Ops is the interface for SFTP file operations against pre-declared hosts.
Click to show internal directories.
Click to hide internal directories.