aboutsummaryrefslogtreecommitdiff
path: root/application_context.go
diff options
context:
space:
mode:
Diffstat (limited to 'application_context.go')
-rw-r--r--application_context.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/application_context.go b/application_context.go
index e4be74d..6ea449d 100644
--- a/application_context.go
+++ b/application_context.go
@@ -20,6 +20,7 @@ type ApplicationContext struct {
ConnectionsController ConnectionsController
ServicesController *ServicesController
ConnectionStreamsController ConnectionStreamsController
+ StatisticsController StatisticsController
IsConfigured bool
}
@@ -93,5 +94,6 @@ func (sm *ApplicationContext) configure() {
sm.ServicesController = NewServicesController(sm.Storage)
sm.ConnectionsController = NewConnectionsController(sm.Storage, sm.ServicesController)
sm.ConnectionStreamsController = NewConnectionStreamsController(sm.Storage)
+ sm.StatisticsController = NewStatisticsController(sm.Storage)
sm.IsConfigured = true
}