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 9897bb6..fc76d00 100644
--- a/application_context.go
+++ b/application_context.go
@@ -37,6 +37,7 @@ type ApplicationContext struct {
ConnectionsController ConnectionsController
ServicesController *ServicesController
ConnectionStreamsController ConnectionStreamsController
+ SearchController *SearchController
StatisticsController StatisticsController
IsConfigured bool
Version string
@@ -113,6 +114,7 @@ func (sm *ApplicationContext) configure() {
sm.ServicesController = NewServicesController(sm.Storage)
sm.ConnectionsController = NewConnectionsController(sm.Storage, sm.ServicesController)
sm.ConnectionStreamsController = NewConnectionStreamsController(sm.Storage)
+ sm.SearchController = NewSearchController(sm.Storage)
sm.StatisticsController = NewStatisticsController(sm.Storage)
sm.IsConfigured = true
}