1
0
forked from MTSR/mapserver
mapserver/server/app/app.go

36 lines
723 B
Go
Raw Normal View History

2019-01-18 10:47:38 +03:00
package app
import (
2019-01-18 11:13:37 +03:00
"mapserver/colormapping"
"mapserver/db"
2019-01-28 16:33:32 +03:00
"mapserver/eventbus"
2019-01-18 11:13:37 +03:00
"mapserver/mapblockaccessor"
"mapserver/mapblockrenderer"
2019-01-21 17:13:33 +03:00
"mapserver/mapobjectdb"
2019-02-07 11:11:11 +03:00
"mapserver/settings"
2019-01-21 18:27:31 +03:00
"mapserver/params"
2019-01-18 11:13:37 +03:00
"mapserver/tilerenderer"
"mapserver/worldconfig"
2019-01-18 10:47:38 +03:00
)
const (
2019-01-28 21:52:18 +03:00
Version = "0.0.2"
2019-01-18 10:47:38 +03:00
)
type App struct {
2019-01-18 11:13:37 +03:00
Params params.ParamsType
Config *Config
Worldconfig worldconfig.WorldConfig
2019-01-18 10:47:38 +03:00
2019-01-21 18:27:31 +03:00
Blockdb db.DBAccessor
Objectdb mapobjectdb.DBAccessor
2019-02-07 11:11:11 +03:00
Settings *settings.Settings
2019-01-18 10:47:38 +03:00
2019-01-18 11:13:37 +03:00
BlockAccessor *mapblockaccessor.MapBlockAccessor
Colormapping *colormapping.ColorMapping
Mapblockrenderer *mapblockrenderer.MapBlockRenderer
Tilerenderer *tilerenderer.TileRenderer
2019-01-28 16:33:32 +03:00
WebEventbus *eventbus.Eventbus
2019-01-18 10:47:38 +03:00
}