package
Version:
v0.2.3
Opens a new window with list of versions in this module.
Published: Aug 11, 2020
License: Apache-2.0, BSD-2-Clause
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Handler sends a transaction.
type Request struct {
TransactionBytes []byte `json:"txn_bytes"`
}
Request holds the transaction object(bytes) to send.
type Response struct {
TransactionID string `json:"transaction_id,omitempty"`
Error string `json:"error,omitempty"`
}
Response is the HTTP response from sending transaction.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.