UNPKG

redis-smq-rest-api

Version:

REST API for RedisSMQ: OpenAPI 3 schema and Swagger UI for managing queues, messages, and consumers.

7 lines 314 B
import { Container } from '../../container/Container.js'; export const getExchangesController = async () => { const queueService = Container.getInstance().resolve('exchangesService'); const r = await queueService.getAllExchanges(); return [200, r]; }; //# sourceMappingURL=getExchangesController.js.map