Documentation ¶
Overview ¶
Package sftp provides SFTP storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Hostname to connect to. Hostname string `mapstruct:"hostname"` // Socket to connect to (overrides hostname) Socket string `mapstruct:"socket"` // Port. Defaults to "ssh". Port string `mapstruct:"port"` // Username. Defaults to the current user's username. Username string `mapstruct:"username"` // Password. Password string `mapstruct:"password"` // Key file. Key string `mapstruct:"key"` // KeyPassword is the password for the key (if any). KeyPassword string `mapstruct:"key_password"` // Path is our jailed path. Path string }
Config for SFTP storage.
Click to show internal directories.
Click to hide internal directories.