Browse Source

Merge branch 'main' of https://github.com/Qiu-zzz/go-rabbitmq into main

pull/37/head
QiuzZz 4 years ago
parent
commit
76bb6cd419
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      consume.go

+ 1
- 0
consume.go View File

@ -10,6 +10,7 @@ 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)


Loading…
Cancel
Save