diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2018-09-26 12:42:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-26 12:42:51 -0400 |
commit | 4e59a27293394b6d5529efd13ad711daebbc0eb3 (patch) | |
tree | 51094fc76cfc6295d136e4ebbefbc3cac19c650a /app/app.go | |
parent | 15d64fb201848002a25facc3bbffc9535a704df6 (diff) | |
download | chat-4e59a27293394b6d5529efd13ad711daebbc0eb3.tar.gz chat-4e59a27293394b6d5529efd13ad711daebbc0eb3.tar.bz2 chat-4e59a27293394b6d5529efd13ad711daebbc0eb3.zip |
Move HTTPService and ConfigService into services package (#9422)
* Move HTTPService and ConfigService into utils package
* Re-add StaticConfigService
* Move config and http services into their own packages
Diffstat (limited to 'app/app.go')
-rw-r--r-- | app/app.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/app.go b/app/app.go index 1c0d56a3c..1cec749da 100644 --- a/app/app.go +++ b/app/app.go @@ -25,6 +25,7 @@ import ( "github.com/mattermost/mattermost-server/mlog" "github.com/mattermost/mattermost-server/model" "github.com/mattermost/mattermost-server/plugin" + "github.com/mattermost/mattermost-server/services/httpservice" "github.com/mattermost/mattermost-server/store" "github.com/mattermost/mattermost-server/store/sqlstore" "github.com/mattermost/mattermost-server/utils" @@ -101,7 +102,7 @@ type App struct { phase2PermissionsMigrationComplete bool - HTTPService HTTPService + HTTPService httpservice.HTTPService } var appCount = 0 @@ -128,7 +129,7 @@ func New(options ...Option) (outApp *App, outErr error) { licenseListeners: map[string]func(){}, } - app.HTTPService = MakeHTTPService(app) + app.HTTPService = httpservice.MakeHTTPService(app) app.CreatePushNotificationsHub() app.StartPushNotificationsHubWorkers() |