2019-03-29 15:34:14 +08:00
|
|
|
/**
|
|
|
|
*
|
2019-04-25 14:36:42 +08:00
|
|
|
* [[filename]].cc
|
2019-03-29 15:34:14 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2019-04-25 14:36:42 +08:00
|
|
|
#include "[[filename]].h"
|
2019-03-29 15:34:14 +08:00
|
|
|
|
|
|
|
using namespace drogon;
|
|
|
|
<%c++auto namespaceStr=@@.get<std::string>("namespaceString");
|
|
|
|
if(!namespaceStr.empty())
|
|
|
|
$$<<"using namespace "<<namespaceStr<<";\n";
|
|
|
|
%>
|
|
|
|
|
2019-04-25 14:36:42 +08:00
|
|
|
void [[className]]::initAndStart(const Json::Value &config)
|
2019-03-29 15:34:14 +08:00
|
|
|
{
|
|
|
|
/// Initialize and start the plugin
|
|
|
|
}
|
|
|
|
|
2019-04-25 14:36:42 +08:00
|
|
|
void [[className]]::shutdown()
|
2019-03-29 15:34:14 +08:00
|
|
|
{
|
|
|
|
/// Shutdown the plugin
|
|
|
|
}
|