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