cic-custodial/internal/api/types.go

14 lines
199 B
Go
Raw Normal View History

2022-11-30 10:51:24 +01:00
package api
type H map[string]any
type OkResp struct {
Ok bool `json:"ok"`
Result H `json:"result"`
2022-11-30 10:51:24 +01:00
}
type ErrResp struct {
Ok bool `json:"ok"`
Message string `json:"message"`
2022-11-30 10:51:24 +01:00
}