Versions in this module Expand all Collapse all v0 v0.1.3 Aug 2, 2026 v0.1.2 Jul 29, 2026 Changes in this version + const DefaultNodesDat + const DefaultServerList + const DefaultServerMet + func BuildSettings(cfg Config) (ed2k.Settings, error) + func DefaultStatePath() string + func InitClient(cfg Config, logger *slog.Logger) (*ed2k.Client, error) + func RunBackground(client *ed2k.Client, cfg Config, notify Notifier) + func SplitCommaList(value string) []string + type Config struct + CategoriesConfig string + CreditsOnlyVerified bool + DisableState bool + EnableCryptLayer bool + EnableCryptLayerRequired bool + EnableKAD bool + EnableKADV6 bool + EnableSecIdent bool + EnableUPnP bool + IdentityKeyPath string + KADNodes string + KADNodesDat string + KADV6Nodes string + KADV6NodesDat string + Links []string + ListenPort int + MaxDownloadRateKB int + MaxUploadRateKB int + OutDir string + PeerTimeout int + SecIdentRequired bool + ServerAddr string + ServerMetPath string + StatePath string + Timeout time.Duration + UDPPort int + UDPPortV6 int + func DefaultConfig() Config + func (cfg *Config) ApplyEnv(prefix string) + type Notifier func(format string, args ...any)