From b933083d20b3db4a3d6a8134efe312eb6ff3d8e2 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sat, 9 Mar 2024 20:19:35 +0800 Subject: initial version --- protocol/publish.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 protocol/publish.go (limited to 'protocol/publish.go') 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"` +} -- cgit v1.2.3