diff options
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"` +} |
