|
|
@ -77,4 +77,6 @@ service RedisService { |
|
|
|
rpc HDel (HDelRequest) returns (DelResponse); |
|
|
|
rpc SetExpire (SetExpireRequest) returns (SetExpireResponse); //设置有效期 |
|
|
|
rpc HGetAll(GetRequest) returns (HGetListResponse); //get hash all |
|
|
|
rpc HExists(HGetRequest) returns (DelResponse); //hash键是否存在 |
|
|
|
rpc Exists(GetRequest) returns (DelResponse); //键是否存在 |
|
|
|
} |