Update broker.go

This commit is contained in:
Asim Aslam 2020-08-18 14:05:25 +01:00 committed by GitHub
parent 4413372a3f
commit dd2dc7a2b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)