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