Documentation
¶
Index ¶
- func Build(opts any) (response vfscommons.IVfs, err error)
- type VfsSftp
- func (instance *VfsSftp) Cd(path string) (bool, error)
- func (instance *VfsSftp) Close()
- func (instance *VfsSftp) Download(source, target string) ([]byte, error)
- func (instance *VfsSftp) Exists(path string) (bool, error)
- func (instance *VfsSftp) IsConnected() bool
- func (instance *VfsSftp) ListAll(dir string) ([]*gg_vfs.VfsFile, error)
- func (instance *VfsSftp) MkDir(path string) error
- func (instance *VfsSftp) Options() (response map[string]interface{})
- func (instance *VfsSftp) Path() string
- func (instance *VfsSftp) Read(path string) ([]byte, error)
- func (instance *VfsSftp) Remove(path string) error
- func (instance *VfsSftp) Schema() string
- func (instance *VfsSftp) Stat(path string) (*gg_vfs.VfsFile, error)
- func (instance *VfsSftp) String() string
- func (instance *VfsSftp) Write(data []byte, target string) (int, error)
- type VfsSftpConnection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VfsSftp ¶
type VfsSftp struct {
// contains filtered or unexported fields
}
func NewVfsSftp ¶
func NewVfsSftp(options *vfsoptions.VfsOptions) (instance *VfsSftp, err error)
func (*VfsSftp) IsConnected ¶
type VfsSftpConnection ¶
type VfsSftpConnection struct {
// contains filtered or unexported fields
}
func NewVfsSftpConnection ¶
func NewVfsSftpConnection(user, password string, key []byte, host string, port int) *VfsSftpConnection
func (*VfsSftpConnection) Close ¶
func (instance *VfsSftpConnection) Close()
Click to show internal directories.
Click to hide internal directories.