mapserver/app/app.go

36 lines
750 B
Go
Raw Permalink Normal View History

2019-01-18 10:47:38 +03:00
package app
import (
2019-01-18 11:13:37 +03:00
"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"
2023-01-20 19:44:59 +03:00
"github.com/minetest-go/colormapping"
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-07-31 14:41:35 +03:00
MapBlockAccessor *mapblockaccessor.MapBlockAccessor
2019-01-18 11:13:37 +03:00
Colormapping *colormapping.ColorMapping
Mapblockrenderer *mapblockrenderer.MapBlockRenderer
Tilerenderer *tilerenderer.TileRenderer
2019-01-28 16:33:32 +03:00
2019-06-14 12:21:07 +03:00
MediaRepo map[string][]byte
2019-01-28 16:33:32 +03:00
WebEventbus *eventbus.Eventbus
2019-01-18 10:47:38 +03:00
}