Documentation ¶
Index ¶
- func ValidateIfObjectExist(filter bson.M, userno string, clientid string) (bool, error)
- type TranCode
- type TranCodeController
- func (e *TranCodeController) DeleteRemoteTestCache(ctx *gin.Context)
- func (e *TranCodeController) Execute(Code string, externalinputs map[string]interface{}, user string, ...) (map[string]interface{}, error)
- func (e *TranCodeController) ExecuteTranCode(ctx *gin.Context)
- func (e *TranCodeController) GetTranCodeDetailFromRespository(ctx *gin.Context)
- func (e *TranCodeController) GetTranCodeListFromRespository(ctx *gin.Context)
- func (e *TranCodeController) RemoteTestTranCode(ctx *gin.Context)
- func (e *TranCodeController) TestTranCode(ctx *gin.Context)
- func (e *TranCodeController) TestbyTestData(ctx *gin.Context)
- func (e *TranCodeController) TranCodeRevision(ctx *gin.Context)
- func (e *TranCodeController) UnitTest(ctx *gin.Context)
- func (e *TranCodeController) UpdateTranCodeToRespository(ctx *gin.Context)
- type TranCodeData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TranCode ¶
type TranCode struct { ID string "json:'_id'" UUID string "json:'uuid'" TranCodeName string "json:'trancodename'" Version string "json:'version'" IsDefault bool "json:'isdefault'" Status int "json:'status'" Firstfuncgroup string "json:'firstfuncgroup'" SystemData types.SystemData "json:'system'" Description string "json:'description'" }
type TranCodeController ¶
type TranCodeController struct { }
func (*TranCodeController) DeleteRemoteTestCache ¶
func (e *TranCodeController) DeleteRemoteTestCache(ctx *gin.Context)
func (*TranCodeController) ExecuteTranCode ¶
func (e *TranCodeController) ExecuteTranCode(ctx *gin.Context)
ExecuteTranCode executes the transaction code based on the request context. It retrieves the user information from the request, fetches the transaction code data, and executes the transaction flow. The outputs of the transaction are returned in the response.
func (*TranCodeController) GetTranCodeDetailFromRespository ¶
func (e *TranCodeController) GetTranCodeDetailFromRespository(ctx *gin.Context)
func (*TranCodeController) GetTranCodeListFromRespository ¶
func (e *TranCodeController) GetTranCodeListFromRespository(ctx *gin.Context)
func (*TranCodeController) RemoteTestTranCode ¶
func (e *TranCodeController) RemoteTestTranCode(ctx *gin.Context)
func (*TranCodeController) TestTranCode ¶
func (e *TranCodeController) TestTranCode(ctx *gin.Context)
func (*TranCodeController) TestbyTestData ¶
func (e *TranCodeController) TestbyTestData(ctx *gin.Context)
func (*TranCodeController) TranCodeRevision ¶
func (e *TranCodeController) TranCodeRevision(ctx *gin.Context)
func (*TranCodeController) UnitTest ¶
func (e *TranCodeController) UnitTest(ctx *gin.Context)
UnitTest is a handler function for performing unit tests on transaction codes. It retrieves the user information from the request context, gets the transaction code data, and executes the unit test using the transaction code and system sessions. The outputs of the unit test are returned in the response.
func (*TranCodeController) UpdateTranCodeToRespository ¶
func (e *TranCodeController) UpdateTranCodeToRespository(ctx *gin.Context)
Click to show internal directories.
Click to hide internal directories.