Documentation ¶
Index ¶
- type Watcher
- func NewAkAnnounceWatcher(dbPath string, debugURL string) (Watcher, error)
- func NewSirenWatcher(dbPath string, debugURL string) (Watcher, error)
- func NewWeiboWatcher(uid int64, sub string, subp string, debugURL string) (Watcher, error)
- func ParseWatchers(configs []map[string]interface{}, dataPath string, debugMode bool) ([]Watcher, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher interface {
Produce(chan common.NotifyPayload)
}
Watcher is a news source to watch.
func NewAkAnnounceWatcher ¶
NewAkAnnounceWatcher creates a Watcher of Arknights game annoucements.
func NewSirenWatcher ¶ added in v2.3.0
NewSirenWatcher creates a Watcher of news from Monster Siren.
func NewWeiboWatcher ¶
NewWeiboWatcher creates a Watcher of Arknights official Weibo.
Click to show internal directories.
Click to hide internal directories.