lintel 0.2.0
Loading...
Searching...
No Matches
MessageQueueController.h
Go to the documentation of this file.
1#ifndef LINTEL_MESSAGEQUEUECONTROLLER_H
2#define LINTEL_MESSAGEQUEUECONTROLLER_H
7
8namespace lintel {
11{
12private:
13 std::shared_ptr<IMessageQueueRepository> m_messageQueueRepository;
14 std::shared_ptr<MessageQueueService> m_messageQueueService;
15 Group m_adminGroup;
16 Group m_userGroup;
17
18 ADD_HANDLER_METHOD(R"(/messageQueue/([^\/]+)/([^\/]+))", Get, messageQueueOf);
19
20public:
21 explicit MessageQueueController(const std::shared_ptr<IAuthService> &authService,
22 std::shared_ptr<IMessageQueueRepository> messageQueueRepository,
23 std::shared_ptr<MessageQueueService> messageQueueService);
24};
25
26}// namespace lintel
27#endif// LINTEL_MESSAGEQUEUECONTROLLER_H
#define ADD_HANDLER_METHOD(pattern, httpType, name)
Definition Controller.h:25
Definition Controller.h:90
@ Get
Definition Controller.h:121
Definition Group.h:35
Definition MessageQueueController.h:11
MessageQueueController(const std::shared_ptr< IAuthService > &authService, std::shared_ptr< IMessageQueueRepository > messageQueueRepository, std::shared_ptr< MessageQueueService > messageQueueService)
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9