This application returns calculated location for the drones for locating data store point.
- Go modules used when building the app
- App has 1 post endpoint to calculate and return location and 1 healthcheck to ensure if it is up and ready
- Default port is 5000
- Application handles most of the errors by checking posted values and logs accordingly.
SectorIDfor observed sector has been kept in configuration and does not change at the runtime.
It can be editable through:config.json
docker build -t dns .
docker run -p 5000:5000 -d dns:latest
Location endpoint serves under http://localhost:5000/api/v1/dns
Healtcheck endpoint serves under http://localhost:5000/api/v1/health