Merge pull request #3960 from gyuho/genproto

storagepb: minor updates from genproto
This commit is contained in:
Xiang Li 2015-12-04 16:18:52 -08:00
commit 5a4a5998a3

View File

@ -68,8 +68,9 @@ type Event struct {
// a put event contains the current key-value
// a delete/expire event contains the previous
// key-value
Kv *KeyValue `protobuf:"bytes,2,opt,name=kv" json:"kv,omitempty"`
WatchID int64 `protobuf:"varint,3,opt,name=watchID,proto3" json:"watchID,omitempty"`
Kv *KeyValue `protobuf:"bytes,2,opt,name=kv" json:"kv,omitempty"`
// watchID is the ID of watching this event is sent to.
WatchID int64 `protobuf:"varint,3,opt,name=watchID,proto3" json:"watchID,omitempty"`
}
func (m *Event) Reset() { *m = Event{} }