triton-doc

triton develop document


Project maintained by tal-tech Hosted on GitHub Pages — Theme by mattgraham

模板配置


本节主要介绍triton的模板配置,我们提供的是go

[xesv5]
-=
-=@NONE

[topic]
-=
-=@NONE

[rabbitmq]
-=
-=@NONE

[demoSo]
-=
-=@SO
-=testplugin.so
-=
-=param2

[demoCurl]
-=
-=@CURL
-=POST -H 'Content-Type: application/x-www-form-urlencoded' http://127.0.0.1:9898/demo/test
-=param=
-=@RET
-=REG:"code":0
-=@END

[demoSql]
-=
-=@SQL
-=USE:instance
-=select * from dbtest;
-=update dbtest set param3="" where id=1;


[autosort]
-=
-=@CURL
-=PUT http://xxx?val=
-=@END
[FlashSaleRemindCron]
-=
-=}" $param }}
-=
-=@CURL
-=POST -H "Content-Type: application/json" -H "MIJIA-ENV: staging" http://xxxxx/xxxx
-=
-=@RET
-=REG:Success
-=@END
-=select 1;

以上是我们给出的模板配置示例,具体的模板实现可以参照模板