Documentation ¶ Index ¶ type GoodBoy type Provider type WatchDog func NewWatchDog(baseWaitTime uint8) WatchDog func (wd WatchDog) Sleep() func (wd WatchDog) Sniff(p Provider) ([]slack.Message, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type GoodBoy ¶ type GoodBoy interface { Sniff(p Provider) ([]slack.Message, error) Sleep() } type Provider ¶ type Provider interface { // A list of messages sorted by date descending Latest() ([]slack.Message, error) // The provider specific cache Cache() cache.Cache } type WatchDog ¶ type WatchDog struct { // contains filtered or unexported fields } func NewWatchDog ¶ func NewWatchDog(baseWaitTime uint8) WatchDog func (WatchDog) Sleep ¶ func (wd WatchDog) Sleep() func (WatchDog) Sniff ¶ func (wd WatchDog) Sniff(p Provider) ([]slack.Message, error) Source Files ¶ View all Source files provider.gowatchdog.go Directories ¶ Show internal Expand all Path Synopsis cache Click to show internal directories. Click to hide internal directories.