mirror of
https://github.com/grassrootseconomics/cic-chain-events.git
synced 2024-12-01 19:16:50 +01:00
16 lines
222 B
Go
16 lines
222 B
Go
|
package api
|
||
|
|
||
|
const (
|
||
|
INTERNAL_ERROR = "ERR_INTERNAL"
|
||
|
)
|
||
|
|
||
|
type okResp struct {
|
||
|
Ok bool `json:"ok"`
|
||
|
Data interface{} `json:"data"`
|
||
|
}
|
||
|
|
||
|
type errResp struct {
|
||
|
Ok bool `json:"ok"`
|
||
|
Error string `json:"error"`
|
||
|
}
|