config

package
v0.0.0-...-2263c59 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 1 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 {
	RSS    RSS    `toml:"rss"`
	Server Server `toml:"server"`
}

func (*Config) Load

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

type RSS

type RSS struct {
	Title       string
	Description string
	URL         string
}

type Server

type Server struct {
	Listen   string
	FeedPath string `toml:"feed_path"`
	FileRoot string `toml:"file_root"`
	PermitUA string `toml:"permit_ua"`
	User     string `toml:"user"`
	Password string `toml:"password"`
	Exclude  []string
}

Jump to

Keyboard shortcuts

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