Versions in this module Expand all Collapse all v0 v0.2.0 Jan 22, 2026 Changes in this version + func MatchesPatterns(path string, include, exclude []string) bool + type Config struct + APIKey string + Exclude []string + Host string + Include []string + KeyFile string + Passive bool + Password string + Port int + RemotePath string + RetryAttempts int + RetryBackoff bool + RetryDelay int + ServiceID string + TLS bool + Type string + Username string + type Connector interface + Close func() error + Connect func(ctx context.Context) error + Download func(ctx context.Context, remotePath string, w io.Writer) error + List func(ctx context.Context) ([]FileInfo, error) + Name func() string + Upload func(ctx context.Context, r io.Reader, remotePath string) error + func NewConnector(cfg Config) (Connector, error) + type FTPConnector struct + func NewFTPConnector(cfg Config) *FTPConnector + func (f *FTPConnector) Close() error + func (f *FTPConnector) Connect(ctx context.Context) error + func (f *FTPConnector) Download(ctx context.Context, remotePath string, w io.Writer) error + func (f *FTPConnector) List(ctx context.Context) ([]FileInfo, error) + func (f *FTPConnector) Name() string + func (f *FTPConnector) Upload(ctx context.Context, r io.Reader, remotePath string) error + type FileInfo struct + IsDir bool + ModTime time.Time + Path string + Size int64 + type NitradoConnector struct + func NewNitradoConnector(cfg Config) *NitradoConnector + func (n *NitradoConnector) Close() error + func (n *NitradoConnector) Connect(ctx context.Context) error + func (n *NitradoConnector) Download(ctx context.Context, remotePath string, w io.Writer) error + func (n *NitradoConnector) List(ctx context.Context) ([]FileInfo, error) + func (n *NitradoConnector) Name() string + func (n *NitradoConnector) Upload(ctx context.Context, r io.Reader, remotePath string) error + type SFTPConnector struct + func NewSFTPConnector(cfg Config) *SFTPConnector + func (s *SFTPConnector) Close() error + func (s *SFTPConnector) Connect(ctx context.Context) error + func (s *SFTPConnector) Download(ctx context.Context, remotePath string, w io.Writer) error + func (s *SFTPConnector) List(ctx context.Context) ([]FileInfo, error) + func (s *SFTPConnector) Name() string + func (s *SFTPConnector) Upload(ctx context.Context, r io.Reader, remotePath string) error