Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendToWebhook ¶
SendToWebhook sends an embedded message to a discord webhook
func StateHandler ¶
func StateHandler(stateFilepath string)
helper function to get a state filepath and updates the state struct (global variable)
Types ¶
type Config ¶
type Config struct {
LogLevel string `hcl:"log_level"`
StateFile string `hcl:"state_file"`
Feeds []FeedConfig `hcl:"feed,block"`
}
type FeedConfig ¶
Click to show internal directories.
Click to hide internal directories.