2021-09-21 20:59:19 +08:00
|
|
|
// Code generated by gen-struct. DO NOT EDIT.
|
|
|
|
// make gen-protobuf generated
|
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
option go_package = "pkg/proto";
|
|
|
|
|
|
|
|
import "stringx.proto";
|
2021-10-21 15:57:31 +08:00
|
|
|
import "listx.proto";
|
2021-11-04 19:20:10 +08:00
|
|
|
import "hashx.proto";
|
2021-09-21 20:59:19 +08:00
|
|
|
|
|
|
|
|
|
|
|
service CommServer {
|
2021-09-25 23:38:19 +08:00
|
|
|
rpc Set (SetRequest) returns (SetResponse);
|
|
|
|
rpc Get (GetRequest) returns (GetResponse);
|
|
|
|
rpc Add (AddRequest) returns (AddResponse);
|
|
|
|
rpc Reduce (ReduceRequest) returns (ReduceResponse);
|
2021-10-24 00:33:23 +08:00
|
|
|
rpc SetBit (SetBitRequest) returns (SetBitResponse);
|
|
|
|
rpc GetBit (GetBitRequest) returns (GetBitResponse);
|
|
|
|
rpc GetRange (GetRangeRequest) returns (GetRangeResponse);
|
|
|
|
rpc GetSet (GetSetRequest) returns (GetSetResponse);
|
|
|
|
rpc StrLen (StrLenRequest) returns (StrLenResponse);
|
2021-10-20 20:30:51 +08:00
|
|
|
rpc Setnx (SetnxRequest) returns (SetnxResponse);
|
2021-10-24 00:33:23 +08:00
|
|
|
rpc LIndex (LIndexRequest) returns (LIndexResponse);
|
|
|
|
rpc LLen (LLenRequest) returns (LLenResponse);
|
|
|
|
rpc LPop (LPopRequest) returns (LPopResponse);
|
|
|
|
rpc LPush (LPushRequest) returns (LPushResponse);
|
|
|
|
rpc LPushX (LPushXRequest) returns (LPushXResponse);
|
|
|
|
rpc LRange (LRangeRequest) returns (LRangeResponse);
|
|
|
|
rpc LRem (LRemRequest) returns (LRemResponse);
|
|
|
|
rpc LSet (LSetRequest) returns (LSetResponse);
|
|
|
|
rpc RPop (RPopRequest) returns (RPopResponse);
|
|
|
|
rpc LTrim (LTrimRequest) returns (LTrimResponse);
|
|
|
|
rpc RPush (RPushRequest) returns (RPushResponse);
|
|
|
|
rpc RPushX (RPushXRequest) returns (RPushXResponse);
|
2021-11-04 19:20:10 +08:00
|
|
|
rpc HDel (HDelRequest) returns (HDelResponse);
|
|
|
|
rpc HExists (HExistsRequest) returns (HExistsResponse);
|
|
|
|
rpc HGet (HGetRequest) returns (HGetResponse);
|
|
|
|
rpc HGetAll (HGetAllRequest) returns (HGetAllResponse);
|
|
|
|
rpc HIncrBy (HIncrByRequest) returns (HIncrByResponse);
|
|
|
|
rpc HKeys (HKeysRequest) returns (HKeysResponse);
|
|
|
|
rpc HLen (HLenRequest) returns (HLenResponse);
|
|
|
|
rpc HSet (HSetRequest) returns (HSetResponse);
|
|
|
|
rpc HSetX (HSetXRequest) returns (HSetXResponse);
|
2021-09-21 20:59:19 +08:00
|
|
|
}
|