Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Host string
Port string // default "22"
User string
Password string // password auth (optional if key is set)
PrivateKeyPath string // path to PEM-encoded private key (optional if password is set)
BasePath string
}
Config holds the parameters needed to connect to an SFTP server.
Click to show internal directories.
Click to hide internal directories.