Documentation
¶
Index ¶
Constants ¶
View Source
const (
BaseDelay = 5 * time.Second
)
Variables ¶
View Source
var ErrNonRetryable = errors.New("non-retryable error")
Functions ¶
This section is empty.
Types ¶
type Sftp ¶
type Sftp struct { MaxAttempts int // by default it is 0, infinite retries Path string `yaml:"path"` SshHost string `yaml:"sshhost"` SshUser string `yaml:"sshuser"` SshKey string `yaml:"sshkey"` // contains filtered or unexported fields }
func NewSftp ¶
func NewSftp(config *SftpConifg) *Sftp
type SftpConifg ¶
Click to show internal directories.
Click to hide internal directories.