daemon interface is needed in messagebus
package messaging
+import "github.com/sensu/sensu-go/backend/daemon"
+
const (
// TopicEvent is the topic for events that have been written to Etcd and
// normalized by eventd.
@@ -15,6 +17,8 @@ const (
// MessageBus is the interface to the internal messaging system.
type MessageBus interface {
+ daemon.Daemon
+
// Subscribe allows a consumer to subscribe to a topic,
// binding a read-only channel to the topic. Topic messages
// are delivered to the channel as simple byte arrays.
