Slight refactor to split server stop and close functions Quit function explicitly sends SIGTERM SIGTERM doesn't trigger an os.Exit Bonus: Properly save the world on spawning the rover |
||
---|---|---|
.. | ||
routes.go | ||
routes_test.go | ||
server.go | ||
server_test.go |
Slight refactor to split server stop and close functions Quit function explicitly sends SIGTERM SIGTERM doesn't trigger an os.Exit Bonus: Properly save the world on spawning the rover |
||
---|---|---|
.. | ||
routes.go | ||
routes_test.go | ||
server.go | ||
server_test.go |