🔥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.
 
 
 
 
 
 

26 lines
519 B

syntax = "proto3";
option go_package = "github.com/yedf/dtm/dtmcli";
package dtmcli;
// The dtm service definition.
service Dtm {
rpc Call(DtmRequest) returns (DtmReply) {}
}
// The request message containing the user's name.
message DtmRequest {
string Gid = 1;
string TransType = 2;
string QueryPrepared = 3;
string Method = 4;
map<string, string> Extra = 5;
bytes AppData = 6;
}
// The response message containing the greetings
message DtmReply {
string DtmResult = 1;
string DtmMessage = 2;
}