config

package
v0.0.0-...-b9af839 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Appname = "rss-client"

Functions

This section is empty.

Types

type Config

type Config struct {
	Feeds    []*FeedConfig `init:"-"`
	FeedPath string        `ini:"feed_path"`
	Logger   *log.Logger   `ini:"logfile"`
	Ui       ui.UIConfig
}

func NewConfig

func NewConfig(logger *log.Logger) (*Config, error)

type FeedConfig

type FeedConfig struct {
	Source string
	Title  string
	Tags   []string
}

func GetConfig

func GetConfig(path string) (*FeedConfig, error)

Jump to

Keyboard shortcuts

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