Browse Source

增加SetNx方法

master
listen 3 years ago
parent
commit
f150be842d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      redis.proto

+ 1
- 0
redis.proto View File

@ -107,6 +107,7 @@ message LLenRequest{
service RedisService {
rpc Get (GetRequest) returns (GetStringResponse); // 使key查询
rpc Set (SetRequest) returns (SetResponse);
rpc SetNx (SetRequest) returns (DelResponse) //
rpc Del (DelRequest) returns (DelResponse);
rpc HGet (HGetRequest) returns (GetStringResponse); // 使hash key查询
rpc HSet (HSetRequest) returns (HSetResponse);


Loading…
Cancel
Save