Browse Source

修改格式参数

master v0.1.14
guzeng 3 years ago
parent
commit
a86af7b974
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      redis.pb.go
  2. +1
    -1
      redis.proto

+ 2
- 2
redis.pb.go View File

@ -261,7 +261,7 @@ type RedisService interface {
Set(in *SetRequest, out *SetResponse) error
Del(in *DelRequest, out *DelResponse) error
HGet(in *HGetRequest, out *GetStringResponse) error
HSet(in *HSetRequest, out *SetResponse) error
HSet(in *HSetRequest, out *HSetResponse) error
HDel(in *HDelRequest, out *DelResponse) error
}
@ -346,7 +346,7 @@ func (c *RedisServiceClient) Del(in *DelRequest, out *DelResponse) error {
func (c *RedisServiceClient) HGet(in *HGetRequest, out *GetStringResponse) error {
return c.Call("RedisService.HGet", in, out)
}
func (c *RedisServiceClient) HSet(in *HSetRequest, out *SetResponse) error {
func (c *RedisServiceClient) HSet(in *HSetRequest, out *HSetResponse) error {
return c.Call("RedisService.HSet", in, out)
}
func (c *RedisServiceClient) HDel(in *HDelRequest, out *DelResponse) error {


+ 1
- 1
redis.proto View File

@ -59,6 +59,6 @@ service RedisService {
rpc Set (SetRequest) returns (SetResponse);
rpc Del (DelRequest) returns (DelResponse);
rpc HGet (HGetRequest) returns (GetStringResponse); // 使hash key查询
rpc HSet (HSetRequest) returns (SetResponse);
rpc HSet (HSetRequest) returns (HSetResponse);
rpc HDel (HDelRequest) returns (DelResponse);
}

Loading…
Cancel
Save