diff --git a/controller/eventService/utils.go b/controller/eventService/utils.go index 7a06a8b3afd93592b0518d9011e08c71fa0dc622..891142fef2e7bf809daca4885fb58921d4e4f9e3 100644 --- a/controller/eventService/utils.go +++ b/controller/eventService/utils.go @@ -11,12 +11,6 @@ func amqpURIBuilder(prefix, user, pass, host, port string) string { return fmt.Sprintf("%s%s:%s@%s:%s/", prefix, user, pass, host, port) } -// Service is the event service -type Service interface { - PublishEvent(topic string, event event.Event) error - CloseConnection() -} - // MockEventService is used to setup a connection to a broker and publish events to topics. type MockEventService struct { Queue map[string][]event.Event