Migrate to gRPC rather than REST with swagger
Will also be adding in a RESTful endpoint to the server as well so it can consume both types
This commit is contained in:
parent
b815284199
commit
7ababb79f6
23 changed files with 1110 additions and 1101 deletions
|
@ -1,12 +1,9 @@
|
|||
package atlas
|
||||
|
||||
// Tile represents the type of a tile on the map
|
||||
type Tile byte
|
||||
|
||||
const (
|
||||
TileEmpty = Tile(0)
|
||||
TileRover = Tile(1)
|
||||
TileEmpty = byte(0)
|
||||
TileRover = byte(1)
|
||||
|
||||
TileWall = Tile(2)
|
||||
TileRock = Tile(3)
|
||||
TileWall = byte(2)
|
||||
TileRock = byte(3)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue