Skip to content

Commit

Permalink
add float value field to api
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank C. Eckert committed Aug 31, 2015
1 parent 6c3257f commit 01d7aec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ type Event struct {
DeviceId string `sql:"size:40" json:"deviceId"`
MeasuredAt time.Time `json:"measuredAt"`
Measurement string `sql:"size:1024" json:"measurement"`
Value float64 `json:"value"`
Fields string `sql:"size:1024" json:"fields"`
Tags string `sql:"size:1024" json:"tags"`
CreatedAt time.Time `json:"createdAt"`
Expand Down

0 comments on commit 01d7aec

Please sign in to comment.