mirror of https://github.com/dtm-labs/dtm.git
csharpjavadistributed-transactionsdtmgogolangmicroservicenodejsphpdatabasesagaseatatcctransactiontransactionsxapythondistributed
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
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 ""
|
|
}
|
|
|