1
0
forked from MTSR/mapserver
mapserver/tiledb/accessor.go
2019-01-17 08:53:07 +01:00

18 lines
249 B
Go

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