Files
poseidon/api/health.go

13 lines
279 B
Go

package api
import (
"net/http"
)
// Health handles the health route.
// It tries to respond that the server is alive.
// If it is not, the response won't reach the client.
func Health(writer http.ResponseWriter, _ *http.Request) {
writer.WriteHeader(http.StatusNoContent)
}