Versions in this module Expand all Collapse all v7 v7.10.0 Dec 20, 2024 v7.9.0 Dec 16, 2023 v7.8.0 Dec 31, 2022 Changes in this version type ServerFTP + EscapeRegexpMeta *bool v7.7.0 Sep 5, 2021 v7.6.0 Jul 25, 2021 v7.5.0 Apr 25, 2021 Changes in this version type ServerFTP + DisableMLSD *bool v7.4.0 Apr 25, 2021 v7.3.0 Feb 19, 2021 v7.2.0 Nov 29, 2020 Changes in this version type Cli + LogCaller bool + LogTimestamp bool type Download + TempFirst *bool type Notif + Script *NotifScript + type NotifScript struct + Args []string + Cmd string + Dir string + func (s *NotifScript) GetDefaults() *NotifScript + func (s *NotifScript) SetDefaults() v7.1.1 Nov 2, 2020 v7.1.0 Oct 4, 2020 Changes in this version + type Cli struct + Cfgfile string + LogFile string + LogJSON bool + LogLevel string + Schedule string + Timezone string + Version kong.VersionFlag type Config + Cli Cli + Meta Meta + type Db struct + Path string + func (s *Db) GetDefaults() *Db + func (s *Db) SetDefaults() + type Download struct + ChmodDir int + ChmodFile int + CreateBaseDir *bool + Exclude []string + GID int + HideSkipped *bool + Include []string + Output string + Retry int + Since string + SinceTime time.Time + UID int + func (s *Download) GetDefaults() *Download + func (s *Download) SetDefaults() + type Meta struct + Author string + Desc string + Hostname string + ID string + Logo string + Name string + URL string + UserAgent string + Version string + type Notif struct + Mail *NotifMail + Slack *NotifSlack + Webhook *NotifWebhook + func (s *Notif) GetDefaults() *Notif + func (s *Notif) SetDefaults() + type NotifMail struct + From string + Host string + InsecureSkipVerify *bool + Password string + PasswordFile string + Port int + SSL *bool + To string + Username string + UsernameFile string + func (s *NotifMail) GetDefaults() *NotifMail + func (s *NotifMail) SetDefaults() + type NotifSlack struct + WebhookURL string + func (s *NotifSlack) GetDefaults() *NotifSlack + func (s *NotifSlack) SetDefaults() + type NotifWebhook struct + Endpoint string + Headers map[string]string + Method string + Timeout *time.Duration + func (s *NotifWebhook) GetDefaults() *NotifWebhook + func (s *NotifWebhook) SetDefaults() + type Server struct + FTP *ServerFTP + SFTP *ServerSFTP + func (s *Server) GetDefaults() *Server + func (s *Server) SetDefaults() + type ServerCommon struct + Host string + Port int + Sources []string + type ServerFTP struct + DisableEPSV *bool + DisableUTF8 *bool + Host string + InsecureSkipVerify *bool + LogTrace *bool + Password string + PasswordFile string + Port int + Sources []string + TLS *bool + Timeout *time.Duration + Username string + UsernameFile string + func (s *ServerFTP) GetDefaults() *ServerFTP + func (s *ServerFTP) SetDefaults() + type ServerSFTP struct + Host string + KeyFile string + KeyPassphrase string + KeyPassphraseFile string + MaxPacketSize int + Password string + PasswordFile string + Port int + Sources []string + Timeout *time.Duration + Username string + UsernameFile string + func (s *ServerSFTP) GetDefaults() *ServerSFTP + func (s *ServerSFTP) SetDefaults() v7.0.1 Aug 4, 2020 v7.0.0 Jul 18, 2020 Changes in this version + type Config struct + Db *model.Db + Download *model.Download + Notif *model.Notif + Schedule string + Server *model.Server + func Load(cfgfile string, schedule string) (*Config, error) + func (cfg *Config) String() string + type Finder struct + BasePaths []string + Extensions []string + func (f Finder) Find(configFile string) (string, error)