Files
poseidon/api/health.go
2021-04-28 08:49:20 +00:00

15 lines
255 B
Go

package api
import (
"net/http"
)
// Health 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) {
writeJson(
writer,
Message{"I'm alive!"},
)
}