MCPcopy Create free account
hub / github.com/netlify/gotrue / HealthCheck

Method HealthCheck

api/api.go:220–226  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

218}
219
220func (a *API) HealthCheck(w http.ResponseWriter, r *http.Request) error {
221 return sendJSON(w, http.StatusOK, map[string]string{
222 "version": a.version,
223 "name": "GoTrue",
224 "description": "GoTrue is a user registration and authentication API",
225 })
226}
227
228func WithInstanceConfig(ctx context.Context, config *conf.Configuration, instanceID uuid.UUID) (context.Context, error) {
229 ctx = withConfig(ctx, config)

Callers

nothing calls this directly

Calls 1

sendJSONFunction · 0.85

Tested by

no test coverage detected