summaryrefslogtreecommitdiff
path: root/protocol/publish.go
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/publish.go')
-rw-r--r--protocol/publish.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocol/publish.go b/protocol/publish.go
new file mode 100644
index 0000000..13e6ee1
--- /dev/null
+++ b/protocol/publish.go
@@ -0,0 +1,8 @@
+package protocol
+
+type TargetStats map[string][]SourcedObservation
+
+type SourcedObservation struct {
+ Observation
+ Source string `json:"source,omitempty"`
+}