wheat-cache/protobuf/storage.proto

35 lines
1.3 KiB
Protocol Buffer
Raw Normal View History

// 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";
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);
rpc Setbit (SetbitRequest) returns (SetbitResponse);
rpc Getbit (GetbitRequest) returns (GetbitResponse);
2021-10-20 20:30:51 +08:00
rpc Getrange (GetrangeRequest) returns (GetrangeResponse);
rpc Getset (GetsetRequest) returns (GetsetResponse);
rpc Strlen (StrlenRequest) returns (StrlenResponse);
rpc Setnx (SetnxRequest) returns (SetnxResponse);
2021-10-21 15:57:31 +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);
}