var configuration *config.Configuration
var a sliceassurance.App
-const TOPIC string = "/events/unauthenticated.VES_O_RAN_SC_HELLO_WORLD_PM_STREAMING_OUTPUT/myG/C1"
-
func main() {
configuration = config.New()
a = sliceassurance.App{}
a.Initialize(configuration)
- go a.StartServer()
+ go func() {
+ a.StartServer()
+ os.Exit(1) // If the startServer function exits, it is because there has been a failure in the server, so we exit.
+ }()
keepConsumerAlive()
}