Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReducer ¶
func NewReducer(storage Storage) *statuses
Types ¶
type ReceiptQuery ¶
type ReceiptQuery struct {
Responder chan<- map[swap.SwapID]swap.SwapReceipt
}
func (ReceiptQuery) IsMessage ¶
func (ReceiptQuery) IsMessage()
type ReceiptUpdate ¶
type ReceiptUpdate swap.ReceiptUpdate
func (ReceiptUpdate) IsMessage ¶
func (ReceiptUpdate) IsMessage()
type Storage ¶
type Storage interface {
PutReceipt(receipt swap.SwapReceipt) error
UpdateReceipt(receiptUpdate swap.ReceiptUpdate) error
}
Click to show internal directories.
Click to hide internal directories.