Documentation
¶
Index ¶
Constants ¶
View Source
const TranCodeTestProcessMessageBus string = "IAC_TRANCODE_TEST_PROCESS"
View Source
const TranCodeTestResultMessageBus string = "IAC_TRANCODE_TEST_RESULT"
Variables ¶
View Source
var DateTimeFormat string = "2006-01-02 15:04:05"
Functions ¶
This section is empty.
Types ¶
type FuncGroup ¶
type FuncGroup struct { ID string "json:'id'" Name string "json:'name'" Functions []Function "json:'functions'" Executionsequence string "json:'sequence'" Session map[string]interface{} "json:'session'" RouterDef RouterDef "json:'routerdef'" Description string "json:'description'" Type string "json:'type'" // contains filtered or unexported fields }
type Function ¶
type Function struct { ID string "json:'id'" Name string "json:'name'" Version string "json:'version'" Status Status "json:'status'" Functype FunctionType "json:'functype'" Inputs []Input "json:'inputs'" Outputs []Output "json:'outputs'" Content string "json:'content'" Script string "json:'script'" Mapdata map[string]interface{} "json:'mapdata'" FunctionName string "json:'functionname'" Description string "json:'description'" Type string "json:'type'" // contains filtered or unexported fields }
type FunctionType ¶
type FunctionType int
const ( InputMap FunctionType = iota GoExpr Javascript Query StoreProcedure SubTranCode TableInsert TableUpdate TableDelete CollectionInsert CollectionUpdate CollectionDelete ThrowError SendMessage SendEmail ExplodeWorkFlow StartWorkFlowTask CompleteWorkFlowTask SendMessagebyKafka SendMessagebyMQTT SendMessagebyAQMP WebServiceCall )
type Input ¶
type Input struct { ID string "json:'id'" Name string "json:'name'" Source InputSource "json:'source'" // 0: constant, 1: function, 2: session Datatype DataType "json:'datatype'" // 0: string, 1: int, 2: float, 3: bool, 4: datetime 5: object (json) Inivalue string "json:'initialvalue'" Defaultvalue string "json:'defaultvalue'" Value string "json:'value'" List bool "json:'list'" Repeat bool "json:'repeat'" Aliasname string "json:'aliasname'" Description string "json:'description'" }
type InputSource ¶
type InputSource int
const ( Constant InputSource = iota Prefunction Fromsyssession Fromusersession Fromexternal )
type Output ¶
type Output struct { ID string "json:'id'" Name string "json:'name'" Outputdest []OutputDest "json:'outputdest'" // 0:none, 1:session, 2:engine Datatype DataType "json:'datatype'" // 0: string, 1: int, 2: float, 3: bool, 4: datetime 5: object (json) Inivalue string "json:'initialvalue'" Defaultvalue string "json:'defaultvalue'" Value string "json:'value'" List bool "json:'list'" Aliasname []string "json:'aliasname'" Description string "json:'description'" }
type SystemData ¶
type TranCode ¶
type TranCode struct { ID string "json:'_id'" UUID string "json:'uuid'" Name string "json:'trancodename'" Version string "json:'version'" IsDefault bool "json:'isdefault'" Status Status "json:'status'" Inputs []Input "json:'inputs'" Outputs []Output "json:'outputs'" Functiongroups []FuncGroup "json:'functiongroups'" Workflow map[string]interface{} "json:'workflow'" Firstfuncgroup string "json:'firstfuncgroup'" SystemData SystemData "json:'system'" Description string "json:'description'" TestDatas []TestData "json:'testdatas'" }
Click to show internal directories.
Click to hide internal directories.