This commit is contained in:
Asim Aslam 2019-01-10 20:35:20 +00:00
parent 40ff5b749b
commit f853f88bcd

View File

@ -38,8 +38,7 @@ type Writer interface {
Write(*Message, interface{}) error
}
// Marshaler is a simple encoding interface used for the broker/transport
// Marshaler is a simple encoding interface used for the broker/transport
// where headers are not supported by the underlying implementation.
type Marshaler interface {
Marshal(interface{}) ([]byte, error)