🔥A cross-language distributed transaction manager. Support xa, tcc, saga, transactional messages. 跨语言分布式事务管理器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
383 B

package examples
import (
"context"
"github.com/gin-gonic/gin"
"github.com/yedf/dtm/dtmcli"
)
// MsgPbSetup 1
func MsgPbSetup(app *gin.Engine) {
}
// MsgPbFireRequest 1
func MsgPbFireRequest() string {
dtmcli.Logf("MsgPbFireRequest")
reply, err := DtmClient.Call(context.Background(), &dtmcli.DtmRequest{})
dtmcli.Logf("reply and err is: %v, %v", reply, err)
return ""
}