Documentation ¶
Index ¶
- Variables
- type Action
- type AskAction
- type ByDate
- type ChatAction
- type CheckInTask
- type FollowUp
- type FollowupTask
- type GatherTask
- type HelpAction
- type Incoming
- type Keyboard
- type Note
- type Notes
- type Question
- type Questions
- type ReviewAction
- type SayAction
- type Sticker
- type StickerChatAction
- type Stickers
- type Storage
- type Task
- type Tasks
- type User
- type Users
- type Worker
Constants ¶
This section is empty.
Variables ¶
View Source
var FantailSaveErr = errors.New("Fantail issue trying to save to storage")
View Source
var FantailStorageErr = errors.New("Fantail storage is not enabled")
Functions ¶
This section is empty.
Types ¶
type ChatAction ¶
type ChatAction struct {
// contains filtered or unexported fields
}
type CheckInTask ¶
type CheckInTask struct{}
type FollowUp ¶
type FollowUp struct {
// contains filtered or unexported fields
}
func NewFollowUp ¶
func NewFollowUp(s *session) *FollowUp
type FollowupTask ¶
type FollowupTask struct{}
type GatherTask ¶
type GatherTask struct{}
type HelpAction ¶
type HelpAction struct {
// contains filtered or unexported fields
}
type Note ¶
type Note struct { UserId int Added time.Time Updated time.Time Remind time.Time Completed time.Time Tag string Context []string Text string }
func (*Note) RemindToday ¶
func (*Note) SetContext ¶
type Notes ¶
type Notes []*Note
func (Notes) FilterOnTag ¶
func (Notes) FilterOnTxt ¶
func (Notes) ForNextDays ¶
func (Notes) MostRecent ¶
func (Notes) SortByDate ¶
type ReviewAction ¶
type ReviewAction struct {
// contains filtered or unexported fields
}
type Sticker ¶
type StickerChatAction ¶
type StickerChatAction struct {
// contains filtered or unexported fields
}
type Stickers ¶
type Stickers []*Sticker
func LoadKnownStickers ¶
func LoadKnownStickers() Stickers
func (Stickers) FindSticker ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func NewStorage() *Storage
type User ¶
type User struct {
// contains filtered or unexported fields
}
func (*User) AddOrUpdate ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
func (*Worker) DoFollowUp ¶
func (this *Worker) DoFollowUp()
func (*Worker) ProcessMessages ¶
Click to show internal directories.
Click to hide internal directories.