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

37 lines
736 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-01-21 18:27:31 +03:00
"mapserver/params"
2019-02-08 18:02:24 +03:00
"mapserver/settings"
2019-02-09 20:05:40 +03:00
"mapserver/tiledb"
2019-01-18 11:13:37 +03:00
"mapserver/tilerenderer"
2019-01-18 10:47:38 +03:00
)
const (
2019-03-10 13:33:41 +03:00
Version = "1.0.1"
2019-01-18 10:47:38 +03:00
)
type App struct {
2019-01-18 11:13:37 +03:00
Params params.ParamsType
Config *Config
2019-02-08 16:57:36 +03:00
Worldconfig map[string]string
2019-01-18 10:47:38 +03:00
2019-01-21 18:27:31 +03:00
Blockdb db.DBAccessor
Objectdb mapobjectdb.DBAccessor
2019-02-09 20:05:40 +03:00
TileDB *tiledb.TileDB
2019-02-12 15:58:48 +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
}