Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransactionRequest ¶
type TransactionRequest struct {
Tx []byte `json:"tx"`
}
TransactionRequest represent the payload for a single transasction, the byte slice will be a base64 encoded string in the json payload
type TransactionsRequest ¶
type TransactionsRequest struct {
Txs [][]byte `json:"txs"`
}
TransactionsRequest represent the payload for a list of transasctions the byte slice slice will be a base64 encoded string slice in the json payload
type WSUpgrader ¶
type WSUpgrader interface {
Upgrade(w http.ResponseWriter, r *http.Request) (service.WriteMessageCloser, error)
}
Click to show internal directories.
Click to hide internal directories.