delayed

package
v1.0.1-stable-dd60dab Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSwapCancelled = fmt.Errorf("swap cancelled")
View Source
var ErrSwapDetailsUnavailable = fmt.Errorf("swap details unavailable")

Functions

func New

func New(cap int, delayCallback DelayCallback) tau.Task

Types

type DelayCallback

type DelayCallback interface {
	DelayCallback(swap.SwapBlob) (swap.SwapBlob, error)
}

type DelayedSwapRequest

type DelayedSwapRequest swap.SwapBlob

func (DelayedSwapRequest) IsMessage

func (msg DelayedSwapRequest) IsMessage()

type DeleteSwap

type DeleteSwap struct {
	ID swap.SwapID
}

func (DeleteSwap) IsMessage

func (msg DeleteSwap) IsMessage()

type ReceiptUpdate

type ReceiptUpdate swap.ReceiptUpdate

func (ReceiptUpdate) IsMessage

func (msg ReceiptUpdate) IsMessage()

type SwapRequest

type SwapRequest swap.SwapBlob

func (SwapRequest) IsMessage

func (msg SwapRequest) IsMessage()

Jump to

Keyboard shortcuts

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