From a30c96160333edb002e5b1cc18ef20b07ddc78ee Mon Sep 17 00:00:00 2001 From: "Pablo M. Bermudo Garay" Date: Mon, 7 Feb 2022 22:43:32 +0100 Subject: Initial commit Basic in-memory object store. --- responses.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 responses.go (limited to 'responses.go') diff --git a/responses.go b/responses.go new file mode 100644 index 0000000..b5234c1 --- /dev/null +++ b/responses.go @@ -0,0 +1,17 @@ +// JSON objects used in the responses +// +// Licensed under CC0 1.0 Universal: +// https://creativecommons.org/publicdomain/zero/1.0/legalcode +package main + +type errorJSON struct { + Error string `json:"error"` +} + +type infoJSON struct { + Info string `json:"info"` +} + +type objectIdJSON struct { + Id string `json:"id"` +} -- cgit v1.2.3-70-g09d2