-
Notifications
You must be signed in to change notification settings - Fork 115
Expand file tree
/
Copy pathhandler.go
More file actions
19 lines (13 loc) · 757 Bytes
/
handler.go
File metadata and controls
19 lines (13 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package slacker
// CommandMiddlewareHandler represents the command middleware handler function
type CommandMiddlewareHandler func(CommandHandler) CommandHandler
// CommandHandler represents the command handler function
type CommandHandler func(*CommandContext)
// InteractionMiddlewareHandler represents the interaction middleware handler function
type InteractionMiddlewareHandler func(InteractionHandler) InteractionHandler
// InteractionHandler represents the interaction handler function
type InteractionHandler func(*InteractionContext)
// JobMiddlewareHandler represents the job middleware handler function
type JobMiddlewareHandler func(JobHandler) JobHandler
// JobHandler represents the job handler function
type JobHandler func(*JobContext)