lintel 0.2.0
Loading...
Searching...
No Matches
AdminController.h
Go to the documentation of this file.
1#ifndef LINTEL_ADMINCONTROLLER_H
2#define LINTEL_ADMINCONTROLLER_H
3
6
7namespace lintel {
17{
18private:
19 Group m_adminGroup;
20
21 ADD_HANDLER_METHOD("/admin/reload-tls", Post, reloadTlsOf);
22
23public:
25 explicit AdminController(const std::shared_ptr<IAuthService> &authService);
26};
27
28}// namespace lintel
29#endif// LINTEL_ADMINCONTROLLER_H
#define ADD_HANDLER_METHOD(pattern, httpType, name)
Definition Controller.h:25
Definition AdminController.h:17
AdminController(const std::shared_ptr< IAuthService > &authService)
Definition Controller.h:90
@ Post
Definition Controller.h:121
Definition Group.h:35
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9