(w http.ResponseWriter, r *http.Request)
| 218 | } |
| 219 | |
| 220 | func (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 | |
| 228 | func WithInstanceConfig(ctx context.Context, config *conf.Configuration, instanceID uuid.UUID) (context.Context, error) { |
| 229 | ctx = withConfig(ctx, config) |
nothing calls this directly
no test coverage detected