fetch

package
v0.0.0-...-b86c98c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(config *Config, feeds []feed.Config, linkers []feed.Linker) ([]*feed.Post, error)

Types

type Config

type Config struct {
	HTTPTimeout     time.Duration `yaml:"httpTimeout,omitempty"`
	PropagateErrors bool          `yaml:"propagateErrors"`
}

func DefaultConfig

func DefaultConfig() Config

func (*Config) Validate

func (c *Config) Validate() error

Validate checks if the configuration is valid

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL