Commit 17947169 authored by Peter Cheng's avatar Peter Cheng

移除沒用到之屬性值

parent 8af62295
...@@ -33,8 +33,7 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package ...@@ -33,8 +33,7 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type Redis struct { type Redis struct {
Key string `protobuf:"bytes,1,opt,name=Key" json:"key,omitempty"` Key string `protobuf:"bytes,1,opt,name=Key" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=Value" json:"value,omitempty"` Value string `protobuf:"bytes,2,opt,name=Value" json:"value,omitempty"`
Interval int64 `protobuf:"varint,3,opt,name=Interval" json:"interval,omitempty"` Hkey string `protobuf:"bytes,3,opt,name=Hkey" json:"hkey,omitempty"`
Hkey string `protobuf:"bytes,4,opt,name=Hkey" json:"hkey,omitempty"`
} }
func (m *Redis) Reset() { *m = Redis{} } func (m *Redis) Reset() { *m = Redis{} }
...@@ -56,13 +55,6 @@ func (m *Redis) GetValue() string { ...@@ -56,13 +55,6 @@ func (m *Redis) GetValue() string {
return "" return ""
} }
func (m *Redis) GetInterval() int64 {
if m != nil {
return m.Interval
}
return 0
}
func (m *Redis) GetHkey() string { func (m *Redis) GetHkey() string {
if m != nil { if m != nil {
return m.Hkey return m.Hkey
...@@ -77,13 +69,12 @@ func init() { ...@@ -77,13 +69,12 @@ func init() {
func init() { proto.RegisterFile("redis.proto", fileDescriptor0) } func init() { proto.RegisterFile("redis.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{ var fileDescriptor0 = []byte{
// 121 bytes of a gzipped FileDescriptorProto // 100 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2e, 0x4a, 0x4d, 0xc9, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2e, 0x4a, 0x4d, 0xc9,
0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4d, 0x4a, 0x4d, 0xcc, 0x2b, 0x56, 0x8a, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4d, 0x4a, 0x4d, 0xcc, 0x2b, 0x56, 0x72,
0xe7, 0x62, 0x0d, 0x02, 0x89, 0x0a, 0x09, 0x70, 0x31, 0x7b, 0xa7, 0x56, 0x4a, 0x30, 0x2a, 0x30, 0xe6, 0x62, 0x0d, 0x02, 0x89, 0x0a, 0x09, 0x70, 0x31, 0x7b, 0xa7, 0x56, 0x4a, 0x30, 0x2a, 0x30,
0x6a, 0x70, 0x06, 0x81, 0x98, 0x42, 0x22, 0x5c, 0xac, 0x61, 0x89, 0x39, 0xa5, 0xa9, 0x12, 0x4c, 0x6a, 0x70, 0x06, 0x81, 0x98, 0x42, 0x22, 0x5c, 0xac, 0x61, 0x89, 0x39, 0xa5, 0xa9, 0x12, 0x4c,
0x60, 0x31, 0x08, 0x47, 0x48, 0x8a, 0x8b, 0xc3, 0x33, 0xaf, 0x24, 0xb5, 0xa8, 0x2c, 0x31, 0x47, 0x60, 0x31, 0x08, 0x47, 0x48, 0x88, 0x8b, 0xc5, 0x23, 0x3b, 0xb5, 0x52, 0x82, 0x19, 0x2c, 0x08,
0x82, 0x59, 0x81, 0x51, 0x83, 0x39, 0x08, 0xce, 0x17, 0x12, 0xe2, 0x62, 0xf1, 0xc8, 0x4e, 0xad, 0x66, 0x27, 0xb1, 0x81, 0x8d, 0x34, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x63, 0x64, 0x62, 0xbb,
0x94, 0x60, 0x01, 0x6b, 0x00, 0xb3, 0x93, 0xd8, 0xc0, 0xd6, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0x61, 0x00, 0x00, 0x00,
0xff, 0x98, 0x98, 0x85, 0x61, 0x7d, 0x00, 0x00, 0x00,
} }
...@@ -5,6 +5,5 @@ package beans; ...@@ -5,6 +5,5 @@ package beans;
message Redis { message Redis {
string Key = 1; //`json:"key,omitempty"` string Key = 1; //`json:"key,omitempty"`
string Value = 2; //`json:"value,omitempty"` string Value = 2; //`json:"value,omitempty"`
int64 Interval = 3; //`json:"interval,omitempty"` string Hkey = 3; //`json:"hkey,omitempty"`
string Hkey = 4; //`json:"hkey,omitempty"`
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment