|
|
@ -10,7 +10,6 @@ import ( |
|
|
// Action is an action that occurs after processed this delivery
|
|
|
// Action is an action that occurs after processed this delivery
|
|
|
type Action int |
|
|
type Action int |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Handler defines the handler of each Delivery and return Action
|
|
|
// Handler defines the handler of each Delivery and return Action
|
|
|
type Handler func(d Delivery) (action Action) |
|
|
type Handler func(d Delivery) (action Action) |
|
|
|
|
|
|
|
|
|