status

package
v1.0.0-beta.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cap int, storage Storage) tau.Task

func NewReducer

func NewReducer(storage Storage) *statuses

Types

type Bootload

type Bootload struct {
}

func (Bootload) IsMessage

func (Bootload) IsMessage()

type Receipt

type Receipt swap.SwapReceipt

func NewReceipt

func NewReceipt(blob swap.SwapBlob) Receipt

func (Receipt) IsMessage

func (Receipt) IsMessage()

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL