summaryrefslogtreecommitdiff
path: root/protocol/publish.go
diff options
context:
space:
mode:
authorKeuin <[email protected]>2024-03-09 20:19:35 +0800
committerKeuin <[email protected]>2024-03-09 20:20:20 +0800
commitb933083d20b3db4a3d6a8134efe312eb6ff3d8e2 (patch)
tree2a86151c77b1eed1596b5f50ce824659e3c1fc22 /protocol/publish.go
initial versionHEADmaster
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"`
+}