Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteTranCode ¶
func ExecuteTranCode(key string, tcode string, inputs map[string]interface{}, ctx context.Context, ctxcancel context.CancelFunc, dbTx *sql.Tx, DBCon *documents.DocDB, sc signalr.Client) []interface{}
ExecuteTranCode executes a transaction code callback function. It takes a key string, tcode string, inputs map[string]interface{}, ctx context.Context, ctxcancel context.CancelFunc, dbTx *sql.Tx, DBCon *documents.DocDB, and sc signalr.Client as input parameters. It returns a slice of interface{} as the result of the callback function. Example usage:
ExecuteTranCode("key", "tcode", map[string]interface{}{"key": "value"}, context.Background(), context.CancelFunc, sql.Tx, documents.DocDB, signalr.Client) ExecuteTranCode("key", "tcode", map[string]interface{}{"key": "value"}, nil, nil, nil, nil, nil) ExecuteTranCode("key", "tcode", nil, nil, nil, nil, nil, nil)
func RegisterCallBack ¶
func RegisterCallBack(key string, callBack interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.