1
0
forked from MTSR/mapserver
mapserver/tiledb/accessor.go
2019-01-11 16:00:40 +01:00

19 lines
299 B
Go

package tiledb
import (
"mapserver/coords"
)
type Tile struct {
Pos coords.TileCoords
LayerId int
Data []byte
Mtime int64
}
type DBAccessor interface {
Migrate() error
GetTile(pos coords.TileCoords) (*Tile, error)
SetTile(pos coords.TileCoords, tile *Tile) error
}