Update broker.go
This commit is contained in:
@@ -14,8 +14,6 @@ type Broker interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Handler is used to process messages via a subscription of a topic.
|
// 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 Handler func(*Message) error
|
||||||
|
|
||||||
type ErrorHandler func(*Message, error)
|
type ErrorHandler func(*Message, error)
|
||||||
|
Reference in New Issue
Block a user