forked from MTSR/mapserver
35 lines
736 B
Go
35 lines
736 B
Go
package app
|
|
|
|
import (
|
|
"mapserver/colormapping"
|
|
"mapserver/db"
|
|
"mapserver/eventbus"
|
|
"mapserver/mapblockaccessor"
|
|
"mapserver/mapblockrenderer"
|
|
"mapserver/mapobjectdb"
|
|
"mapserver/params"
|
|
"mapserver/settings"
|
|
"mapserver/tiledb"
|
|
"mapserver/tilerenderer"
|
|
)
|
|
|
|
type App struct {
|
|
Params params.ParamsType
|
|
Config *Config
|
|
Worldconfig map[string]string
|
|
|
|
Blockdb db.DBAccessor
|
|
Objectdb mapobjectdb.DBAccessor
|
|
TileDB *tiledb.TileDB
|
|
Settings settings.Settings
|
|
|
|
BlockAccessor *mapblockaccessor.MapBlockAccessor
|
|
Colormapping *colormapping.ColorMapping
|
|
Mapblockrenderer *mapblockrenderer.MapBlockRenderer
|
|
Tilerenderer *tilerenderer.TileRenderer
|
|
|
|
MediaRepo map[string][]byte
|
|
|
|
WebEventbus *eventbus.Eventbus
|
|
}
|