internal

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name    string         `toml:"name"`
	URL     string         `toml:"url"`
	Owner   string         `toml:"owner"`
	Email   string         `toml:"email"`
	FeedID  string         `toml:"feed_id"`
	Cache   string         `toml:"cache"`
	Timeout utils.Duration `toml:"timeout"`

	Theme        fs.FS           `toml:"-"`
	Output       string          `toml:"output"`
	Feeds        []manifest.Feed `toml:"feed"`
	ItemsPerPage int             `toml:"items"`
	MaxPages     int             `toml:"max_pages"`
	// contains filtered or unexported fields
}

Config describes our configuration.

func (*Config) Load

func (c *Config) Load(path string) error

Load loads our configuration file.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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