1
0
forked from MTSR/mapserver
mapserver/tiledb/accessor.go
2019-01-17 11:20:03 +01:00

19 lines
290 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
RemoveTile(pos coords.TileCoords) error
}