Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface {
Notify(ctx context.Context, ev *orgo.HeadingNode) error
}
Backend defines the interface for the Notification Backends.
func NewBackend ¶
type Config ¶
type Config struct { Type string `toml:"type"` Keywords []string `toml:"keywords"` Tags []string `toml:"tags"` NtfyConfig *NtfyConfig `toml:"ntfy"` }
type NtfyConfig ¶
Click to show internal directories.
Click to hide internal directories.