Download apps/backend/src/api/routes/monitor.controller.ts from Leon4gr45/postio: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/spaces/Leon4gr45/postio/resolve/main/apps/backend/src/api/routes/monitor.controller.ts
- Command line
-
hf download hf://spaces/Leon4gr45/postio/apps/backend/src/api/routes/monitor.controller.ts
-
curl -L -o monitor.controller.ts https://huggingface.co/spaces/Leon4gr45/postio/resolve/main/apps/backend/src/api/routes/monitor.controller.ts
352 Bytes
| import { Controller, Get, Param } from '@nestjs/common'; | |
| import { ApiTags } from '@nestjs/swagger'; | |
| ('Monitor') | |
| ('/monitor') | |
| export class MonitorController { | |
| ('/queue/:name') | |
| async getMessagesGroup(('name') name: string) { | |
| return { | |
| status: 'success', | |
| message: `Queue ${name} is healthy.`, | |
| }; | |
| } | |
| } | |