Browse Source

added browser age and era in v2

Tobias von Dewitz 3 years ago
parent
commit
963ba67978
1 changed files with 2 additions and 0 deletions
  1. 2 0
      v2/request_data.go

+ 2 - 0
v2/request_data.go

@@ -41,6 +41,8 @@ type RequestData struct {
 	Weight         uint64                 `bson:"weight" json:"weight,omitempty" form:"weight,omitempty" url:"weight,omitempty"`
 	Meta           *ipmeta.Meta           `bson:"meta" json:"meta,omitempty" url:"meta,omitempty" `
 	Type           string                 `bson:"type" json:"type,omitempty" form:"type:omitempty" url:"type,omitempty"`
+	BrowserAge     time.Duration          `bson:"bage" json:"browser_age,omitempty" form:"browser_age,omitempty" url:"browser_age,omitempty"`
+	BrowserEra     int                    `bson:"bera" json:"browser_era,omitempty" form:"browser_era,omitempty" url:"browser_era,omitempty"`
 }
 
 func (a *RequestData) Less(b btree.Item) bool {