oko-server/server/constants.go
zegkljan 1cf44e3bfc
All checks were successful
continuous-integration/drone/push Build is passing
build info
* API endpoint
* dockerfile adds commit hash and build time during build
2022-02-20 00:20:19 +01:00

19 lines
613 B
Go

package server
const (
URIPing = "/ping"
URIBuildInfo = "/build-info"
URIHardFail = "/hard-fail"
URISoftFail = "/soft-fail"
URIReinit = "/reinit"
URIMapPack = "/mappack"
URIHandshake = "/handshake"
URIData = "/data"
URIDataPeople = "/data/people"
URIDataFeatures = "/data/features"
URIDataFeaturesPhoto = "/data/features/:feature/photos/:photo"
URITileserverRoot = "/tileserver"
URITileserver = URITileserverRoot + "/*x"
URITileTemplate = URITileserverRoot + "/map/tiles/{z}/{x}/{y}.pbf"
)