From ac6abd963a254a1470ccfe10b0ded05980528c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Sterba?= <andre.sterba@stud.h-da.de> Date: Fri, 1 Jul 2022 15:40:10 +0200 Subject: [PATCH] Remove not needed service interface --- controller/eventService/utils.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/controller/eventService/utils.go b/controller/eventService/utils.go index 7a06a8b3a..891142fef 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 -- GitLab