Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigApp ¶
type ConfigApp struct { BrandingDisabled bool `toml:"branding_disabled"` DBPath string `toml:"db_path"` LogLevel string `toml:"loglevel"` Oldest int `toml:"oldest"` Ticker int `toml:"ticker"` Timeout int `toml:"timeout"` }
func (ConfigApp) LoggerLevel ¶
type ConfigFeed ¶
type ConfigWebhook ¶
type MyConfig ¶
type MyConfig struct { App ConfigApp Feeds []ConfigFeed Webhooks []ConfigWebhook }
func ReadConfig ¶
func (*MyConfig) EnabledFeeds ¶
func (mc *MyConfig) EnabledFeeds() []ConfigFeed
type ProcessedItem ¶
ProcessedItem represents a sent item
func NewProcessedItemFromBytes ¶
func NewProcessedItemFromBytes(byt []byte) (*ProcessedItem, error)
func (*ProcessedItem) Key ¶
func (si *ProcessedItem) Key() []byte
func (*ProcessedItem) ToBytes ¶
func (si *ProcessedItem) ToBytes() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.