cic-chain-events/internal/api/types.go
Mohammed Sohail 0ccdaa0345
feat: add stats api, fix pipeline exe
* added cUSD sample filters
* decouple stats from metrics
2023-01-06 11:32:20 +00:00

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"`
}