summaryrefslogtreecommitdiff
path: root/responses.go
blob: b5234c1a69883a25850a048f429cd897bf1719ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"`
}