Update broker.go
This commit is contained in:
parent
4413372a3f
commit
dd2dc7a2b9
@ -14,8 +14,6 @@ type Broker interface {
|
||||
}
|
||||
|
||||
// Handler is used to process messages via a subscription of a topic.
|
||||
// The handler is passed a publication interface which contains the
|
||||
// message and optional Ack method to acknowledge receipt of the message.
|
||||
type Handler func(*Message) error
|
||||
|
||||
type ErrorHandler func(*Message, error)
|
||||
|
Loading…
Reference in New Issue
Block a user