diff options
author | Markus Grüneis <gimpf@gimpf.org> | 2014-10-19 14:52:20 +0200 |
---|---|---|
committer | Markus Grüneis <gimpf@gimpf.org> | 2014-10-19 14:52:26 +0200 |
commit | 9f7b0252cc1b026fe5cced2721e031e6208299d1 (patch) | |
tree | 0e817553f1f2adc4cb16f705fecbec72049db69a | |
parent | hub: fix storing client-specific data (diff) |
hub: change ClientData field BytesTransferred
-rw-r--r-- | src/hub/src/spreadspace.org/sfive/s5types.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5types.go b/src/hub/src/spreadspace.org/sfive/s5types.go index fe98961..78a877b 100644 --- a/src/hub/src/spreadspace.org/sfive/s5types.go +++ b/src/hub/src/spreadspace.org/sfive/s5types.go @@ -22,9 +22,9 @@ type SourceId struct { } type ClientData struct { - Ip string `json:"ip"` - BytesTransferred uint `json:"bytes-transferred"` - UserAgent string `json:"user-agent"` + Ip string `json:"ip"` + BytesSent uint `json:"bytes-sent"` + UserAgent string `json:"user-agent"` } type SourceData struct { |