diff options
| author | Pablo M. Bermudo Garay <pablombg@gmail.com> | 2022-02-07 22:43:32 +0100 |
|---|---|---|
| committer | Pablo M. Bermudo Garay <pablombg@gmail.com> | 2022-02-10 13:14:04 +0100 |
| commit | a30c96160333edb002e5b1cc18ef20b07ddc78ee (patch) | |
| tree | 0d360a51a1ade7b35789a86fc58f1e6e307c6ff6 /responses.go | |
Initial commit
Basic in-memory object store.
Diffstat (limited to 'responses.go')
| -rw-r--r-- | responses.go | 17 |
1 files changed, 17 insertions, 0 deletions
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"` +} |
