Documentation ¶
Index ¶
Constants ¶
View Source
const ( LocalBaseUrl = "http://localhost:89" LocalUrl = "http://localhost:89/engine" LocalUrls = "http://localhost:89/batch" EtcdHost = "192.168.17.113:2379" ServerName = "web.ruleserver.com" )
@Title 文件名称: ichub_consts.go @Description 描述: 有芯规则引擎常量
@Author 作者: leijianming@163.com 时间(2024-02-18 22:38:21) @Update 作者: leijianming@163.com 时间(2024-02-18 22:38:21)
View Source
const ( FUNC_PARAM_EMPTY = "{}" FUNC_HELPAPI = "helpapi" FUNC_AllAddr = "alladdr" FUNC_AllService = "allservice" FUNC_RULEDATA = "ruledata" FUNC_RULEFILE = "rulefile" FUNC_POSTRULE = "engine" FUNC_POSTRULE_BATCH = "batch" FUNC_LISTFUNCS = "func_listfuncs" FUNC_LISTFUNC = "func_listfunc" FUNC_SNOWFLAKE = "func_snowflake" FUNC_HELLOWORLD = "PATH_HelloWorld" FUNC_DEMO = "func_demo" FUNC_CONFIG = "func_config" FUNC_ESQUERY = "func_esquery" FUNC_ESCMD = "func_escmd" FUNC_ESKEYWORD = "func_eskeyword" FUNC_ESMETADATA = "func_esmetadata" FUNC_ESGETMAPPING = "func_esgetmapping" FUNC_DBQUERY = "func_dbquery" FUNC_DBMETADATA = "func_dbmetadata" )
View Source
const ( PATH_HelloWorld = "/" PATH_RuleData = "/ruledata" PATH_RuleFile = "/rulefile" PATH_HelpApi = "/helpapi" PATH_AllAddr = "/alladdr" PATH_AllService = "/allservice" PATH_Rule = "/engine" PATH_RuleBatch = "/batch" PATH_LISTFUNCS = "/listfuncs" PATH_LISTFUNC = "/listfunc" PATH_DBQUERY = "/dbquery" PATH_DBMETADATA = "/dbmetadata" PATH_ESGETMAPPING = "/getmapping" PATH_ESQUERY = "/query" PATH_ESCMD = "/cmd" PATH_ESMETADATA = "/meta" PATH_ESKEYWORD = "/keyword" )
View Source
const ( Rule = `` /* 584-byte string literal not displayed */ Param = `{ "Base": 10000, "Bonus": 5000, "Tax": 1000 }` )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.