Buckets:
| import { Schema } from "effect" | |
| import { HttpApiEndpoint, HttpApiGroup, OpenApi } from "effect/unstable/httpapi" | |
| export const HealthGroup = HttpApiGroup.make("server.health").add( | |
| HttpApiEndpoint.get("health.get", "/api/health", { | |
| success: Schema.Struct({ healthy: Schema.Literal(true) }), | |
| }).annotateMerge( | |
| OpenApi.annotations({ | |
| identifier: "v2.health.get", | |
| summary: "Check server health", | |
| description: "Check whether the API server is ready to accept requests.", | |
| }), | |
| ), | |
| ) | |
Xet Storage Details
- Size:
- 511 Bytes
- Xet hash:
- e3b1a149184b2fc34dbef7b708ecd2758758c21f44475402cb8fbf2d9a19a0d5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.