btc-pay-checker/internal/services/btc/rpc_response.go

12 lines
215 B
Go
Raw Normal View History

2023-07-19 11:47:46 +02:00
package btc
type RPCResponseError struct {
Code int `json:"code"`
Message string `json:"message"`
}
type RPCResponse struct {
Id string `json:"id"`
Error *RPCResponseError `json:"error"`
}