Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot interface {
StartPolling()
Webhook(event interface{})
MonthlyCheck() (*map[string]*[]string, error)
GetMiddleware() Middleware
}
Bot contains main polling process
type Middleware ¶
type Middleware struct {
Prlimit prlimit.PrLimit
Merge merge.Merge
IssueRedeliver issueRedeliver.Redeliver
PullStatus pullstatus.PullStatus
AutoUpdate autoUpdate.AutoUpdate
CommandRedeliver *command.CommandRedeliver
Notify *notify.Notify
Approve *approve.Approve
Contributor *contributor.Contributor
FileWatcher *fileWatcher.Watcher
Assign *assign.Assign
AddLabel *addLabel.Label
AddTemplate *addTemplate.Comment
CheckTemplate *checkTemplate.Check
// contains filtered or unexported fields
}
Middleware defines middleware struct
Click to show internal directories.
Click to hide internal directories.