sftp

package
v0.0.0-...-1d573b9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SFTPClient

type SFTPClient struct {
	// contains filtered or unexported fields
}

func New

func New() (*SFTPClient, error)

func (*SFTPClient) Close

func (c *SFTPClient) Close()

func (*SFTPClient) DeleteFile

func (c *SFTPClient) DeleteFile(path string) error

func (*SFTPClient) ReadFile

func (c *SFTPClient) ReadFile(path string) ([]byte, error)

func (*SFTPClient) WriteFile

func (c *SFTPClient) WriteFile(path string, body []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL