lintel 0.2.0
Loading...
Searching...
No Matches
ExampleController.h
Go to the documentation of this file.
1#ifndef LINTEL_EXAMPLECONTROLLER_H
2#define LINTEL_EXAMPLECONTROLLER_H
3
6
7namespace lintel {
10{
11private:
12 ADD_HANDLER_METHOD("/hello", Get, hello);
13
14public:
15 explicit ExampleController(std::shared_ptr<IAuthService> authService);
16};
17
18}// namespace lintel
19#endif// LINTEL_EXAMPLECONTROLLER_H
#define ADD_HANDLER_METHOD(pattern, httpType, name)
Definition Controller.h:25
Definition Controller.h:90
@ Get
Definition Controller.h:121
Definition ExampleController.h:10
ExampleController(std::shared_ptr< IAuthService > authService)
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9