misc.proto 285 Bytes
Newer Older
Wei Shoulin's avatar
Wei Shoulin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
syntax = "proto3";

package dfs.common.misc;
option go_package = "cnlab.net/csst/proto/common/misc";

service MiscSrv {
        rpc GetSeqId(GetSeqIdReq) returns (GetSeqIdResp) {}
}

message GetSeqIdReq {
        string prefix = 1;
}
message GetSeqIdResp {
        int64 nextId = 1;
}