初版提交
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
%% ----------------------------------------------------------------------------------
|
||||
{{if .desc}}%% {{hd .desc}} {{end}}
|
||||
{template, {{.template}}, { {{.project}}, "{{hd .cmd}}", [
|
||||
{{if .reconnect}} { reconnect_db, msg_start, [] },
|
||||
{{end}} {{if .fun_id}}{ fun_open_check, check, [{{hd .fun_id}}] }, {{end}}
|
||||
{{if .pre_message}} { pre_port, decode, [{{hd .pre_proto }}, {{hd .pre_message}}] }, {{end}}
|
||||
{{if .reconnect}} { {{hd .module}}, {{hd .func}}, [{{join .args ","}}] },
|
||||
{ reconnect_db, msg_end, [] } {{else}} { {{hd .module}}, {{hd .func}}, [] }
|
||||
{{end}}
|
||||
]}}.
|
||||
%% -----------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user