Skip to content
Snippets Groups Projects
Commit ac6abd96 authored by André Sterba's avatar André Sterba
Browse files

Remove not needed service interface

parent 7ca03889
No related branches found
No related tags found
2 merge requests!376Add additional example application hostname-checker,!343Add basic application framework and example application to show interaction between events an NBI
Pipeline #107329 passed
This commit is part of merge request !343. Comments created here will be created in the context of that merge request.
...@@ -11,12 +11,6 @@ func amqpURIBuilder(prefix, user, pass, host, port string) string { ...@@ -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) 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. // MockEventService is used to setup a connection to a broker and publish events to topics.
type MockEventService struct { type MockEventService struct {
Queue map[string][]event.Event Queue map[string][]event.Event
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment