| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -22,6 +22,8 @@ It has these top-level messages: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						DelResponse | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						HSetResponse | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						SetExpireResponse | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						SAddRequest | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						SMembersRequest | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					*/ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					package redisrpc | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -315,6 +317,48 @@ func (m *SetExpireResponse) GetRet() int64 { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						return 0 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					// 集合添加值
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					type SAddRequest struct { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						Key              *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						Field            *string `protobuf:"bytes,2,opt,name=field" json:"field,omitempty"` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						XXX_unrecognized []byte  `json:"-"` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func (m *SAddRequest) Reset()         { *m = SAddRequest{} } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func (m *SAddRequest) String() string { return proto.CompactTextString(m) } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func (*SAddRequest) ProtoMessage()    {} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func (m *SAddRequest) GetKey() string { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						if m != nil && m.Key != nil { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							return *m.Key | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						return "" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func (m *SAddRequest) GetField() string { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						if m != nil && m.Field != nil { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							return *m.Field | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						return "" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					// 集合添加值
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					type SMembersRequest struct { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						Key              *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						XXX_unrecognized []byte  `json:"-"` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func (m *SMembersRequest) Reset()         { *m = SMembersRequest{} } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func (m *SMembersRequest) String() string { return proto.CompactTextString(m) } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func (*SMembersRequest) ProtoMessage()    {} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func (m *SMembersRequest) GetKey() string { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						if m != nil && m.Key != nil { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							return *m.Key | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						return "" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func init() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -329,6 +373,8 @@ type RedisService interface { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						HGetAll(in *GetRequest, out *HGetListResponse) error | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						HExists(in *HGetRequest, out *DelResponse) error | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						Exists(in *GetRequest, out *DelResponse) error | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						SAdd(in *SAddRequest, out *HSetResponse) error | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						SIsmember(in *SAddRequest, out *HSetResponse) error | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					// AcceptRedisServiceClient accepts connections on the listener and serves requests
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -430,6 +476,12 @@ func (c *RedisServiceClient) HExists(in *HGetRequest, out *DelResponse) error { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func (c *RedisServiceClient) Exists(in *GetRequest, out *DelResponse) error { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						return c.Call("RedisService.Exists", in, out) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func (c *RedisServiceClient) SAdd(in *SAddRequest, out *HSetResponse) error { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						return c.Call("RedisService.SAdd", in, out) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func (c *RedisServiceClient) SIsmember(in *SAddRequest, out *HSetResponse) error { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						return c.Call("RedisService.SIsmember", in, out) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					// DialRedisService connects to an RedisService at the specified network address.
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func DialRedisService(network, addr string) (*RedisServiceClient, *rpc.Client, error) { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |