diff options
Diffstat (limited to 'src/hub/src/spreadspace.org/sfive/s5types.go')
-rw-r--r-- | src/hub/src/spreadspace.org/sfive/s5types.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5types.go b/src/hub/src/spreadspace.org/sfive/s5types.go index 64b3f48..74c7f1c 100644 --- a/src/hub/src/spreadspace.org/sfive/s5types.go +++ b/src/hub/src/spreadspace.org/sfive/s5types.go @@ -15,6 +15,7 @@ type StreamId struct { } type SourceId struct { + Version uint `json:"version" db:"-"` Hostname string `json:"hostname"` StreamId StreamId `json:"streamer-id" db:"-"` Tags []string `json:"tags" db:"-"` @@ -48,6 +49,7 @@ func (self *StatisticsData) CopyFrom(id *SourceId) { self.Hostname = id.Hostname self.StreamId = id.StreamId self.Tags = id.Tags + self.Version = id.Version } func (self *StatisticsData) CopyFromUpdate(id *DataUpdate) { |