1
0
forked from MTSR/mapserver
mapserver/tiledb/accessor.go
NatureFreshMilk f8f524013e go fmt
2019-01-18 09:13:37 +01:00

19 lines
284 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
}