package
Version:
v0.0.0-...-1fa1717
Opens a new window with list of versions in this module.
Published: Oct 15, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
OutDirPath string `toml:"out_dir_path"`
RulesPath string `toml:"rules_path"`
Radiko Radiko `toml:"radiko"`
Feed Server `toml:"feed"`
Dropbox Dropbox `toml:"dropbox"`
}
type Dropbox struct {
Enabled bool `toml:"enabled"`
Token string `toml:"-"`
}
type Radiko struct {
OffsetTimeStr string `toml:"offset_time"`
PlannerIntervalStr string `toml:"planner_interval"`
FetchTimeoutStr string `toml:"fetch_timeout"`
OffsetTime time.Duration `toml:"-"`
PlannerInterval time.Duration `toml:"-"`
FetchTimeout time.Duration `toml:"-"`
}
type Server struct {
Enabled bool `toml:"enabled"`
Port int `toml:"port"`
BaseURL string `toml:"base_url"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.