focalboard/server/app/app.go

20 lines
648 B
Go
Raw Normal View History

package app
2020-10-16 16:21:42 +02:00
2020-10-16 16:36:08 +02:00
import (
"github.com/mattermost/mattermost-octo-tasks/server/services/config"
"github.com/mattermost/mattermost-octo-tasks/server/services/store"
"github.com/mattermost/mattermost-octo-tasks/server/ws"
"github.com/mattermost/mattermost-server/v5/services/filesstore"
2020-10-16 16:36:08 +02:00
)
2020-10-16 16:21:42 +02:00
type App struct {
config *config.Configuration
store store.Store
wsServer *ws.Server
filesBackend filesstore.FileBackend
}
func New(config *config.Configuration, store store.Store, wsServer *ws.Server, filesBackend filesstore.FileBackend) *App {
return &App{config: config, store: store, wsServer: wsServer, filesBackend: filesBackend}
2020-10-16 16:21:42 +02:00
}