18 lines
577 B
Protocol Buffer
18 lines
577 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package examples;
|
|
|
|
option go_package = "github.com/yedf/dtm/examples";
|
|
import "dtmgrpc/dtmgrpc.proto";
|
|
import "google/protobuf/empty.proto";
|
|
|
|
// The dtm service definition.
|
|
service Busi {
|
|
rpc CanSubmit(dtmgrpc.BusiRequest) returns (google.protobuf.Empty) {}
|
|
rpc TransIn(dtmgrpc.BusiRequest) returns (google.protobuf.Empty) {}
|
|
rpc TransOut(dtmgrpc.BusiRequest) returns (google.protobuf.Empty) {}
|
|
rpc TransInRevert(dtmgrpc.BusiRequest) returns (google.protobuf.Empty) {}
|
|
rpc TransOutRevert(dtmgrpc.BusiRequest) returns (google.protobuf.Empty) {}
|
|
}
|
|
|