fix(v2): Drop prevValue from exported fields

This commit is contained in:
Brian Waldon
2013-12-06 11:46:23 -08:00
parent 5edaee79e6
commit 0fb8fc0b8d
5 changed files with 5 additions and 10 deletions

View File

@ -10,7 +10,7 @@ import (
// TTL is time to live in second
type NodeExtern struct {
Key string `json:"key, omitempty"`
PrevValue string `json:"prevValue,omitempty"`
PrevValue string `json:"-"`
Value string `json:"value,omitempty"`
Dir bool `json:"dir,omitempty"`
Expiration *time.Time `json:"expiration,omitempty"`