package
Version:
v0.0.0-...-728c5d1
Opens a new window with list of versions in this module.
Published: May 27, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
Location = "config/config.toml"
Version = "2"
)
type Config struct {
Version string `toml:"version"`
FetchEveryXMinutes uint `toml:"fetch_every_X_minutes"`
Redis *Redis `toml:"redis"`
Feeds []*Feed `toml:"feed"`
}
type Feed struct {
ServerUrl string `toml:"server_url"`
Token string `toml:"token"`
Enabled bool `toml:"enabled"`
Language string `toml:"language"`
Tags []string `toml:"tags"`
}
type Redis struct {
Host string `toml:"host"`
Port uint `toml:"port"`
Password string `toml:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.