15 lines
461 B
TypeScript
15 lines
461 B
TypeScript
import { Transport, MicroserviceOptions } from '@nestjs/microservices';
|
|
export declare const getRabbitMQOptions: (queueName: string, url?: string) => MicroserviceOptions;
|
|
export declare const getRabbitMQClientOptions: (url?: string) => {
|
|
transport: Transport.RMQ;
|
|
options: {
|
|
urls: string[];
|
|
queue: string;
|
|
exchange: string;
|
|
exchangeType: string;
|
|
queueOptions: {
|
|
durable: boolean;
|
|
};
|
|
};
|
|
};
|