1
0
forked from MTSR/mapserver
mapserver/tiledb/accessor.go
Thomas Rudin bc223722af gofmt
2019-01-13 16:37:03 +01:00

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