summaryrefslogtreecommitdiff
path: root/src/hub
diff options
context:
space:
mode:
authorMarkus Grüneis <gimpf@gimpf.org>2014-10-19 14:52:20 +0200
committerMarkus Grüneis <gimpf@gimpf.org>2014-10-19 14:52:26 +0200
commit9f7b0252cc1b026fe5cced2721e031e6208299d1 (patch)
tree0e817553f1f2adc4cb16f705fecbec72049db69a /src/hub
parenthub: fix storing client-specific data (diff)
hub: change ClientData field BytesTransferred
Diffstat (limited to 'src/hub')
-rw-r--r--src/hub/src/spreadspace.org/sfive/s5types.go6
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 {