Skip to content
Snippets Groups Projects

Add basic application framework and example application to show interaction between events an NBI

Merged Ghost User requested to merge istaester/init-application-framework into develop
1 file
+ 0
6
Compare changes
  • Side-by-side
  • Inline
@@ -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
Loading