wheat-cache/protobuf/storage.proto

35 lines
1.3 KiB
Protocol Buffer

// Code generated by gen-struct. DO NOT EDIT.
// make gen-protobuf generated
syntax = "proto3";
option go_package = "pkg/proto";
import "stringx.proto";
import "listx.proto";
service CommServer {
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);
rpc Getrange (GetrangeRequest) returns (GetrangeResponse);
rpc Getset (GetsetRequest) returns (GetsetResponse);
rpc Strlen (StrlenRequest) returns (StrlenResponse);
rpc Setnx (SetnxRequest) returns (SetnxResponse);
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);
}