编写连接业务层的代码。
This commit is contained in:
@@ -146,6 +146,9 @@ struct pangu_rt
|
||||
};
|
||||
struct pangu_rt * g_pangu_rt;
|
||||
|
||||
Maat_feather_t g_business_maat;
|
||||
|
||||
|
||||
#define MAAT_INPUT_JSON 0
|
||||
#define MAAT_INPUT_REDIS 1
|
||||
#define MAAT_INPUT_FILE 2
|
||||
@@ -835,6 +838,7 @@ int pangu_http_init(struct tfe_proxy * proxy)
|
||||
TFE_LOG_INFO(NULL, "Tango Cache Enabled.");
|
||||
}
|
||||
TFE_LOG_INFO(NULL, "Pangu HTTP init success.");
|
||||
g_business_maat=g_pangu_rt->maat;
|
||||
return 0;
|
||||
|
||||
error_out:
|
||||
|
||||
Reference in New Issue
Block a user