mirror of
https://github.com/grassrootseconomics/cic-chain-events.git
synced 2024-11-29 18:16:47 +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"`
|
|
}
|