Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContractBuilder ¶
type Logger ¶
type Logger interface {
LogInfo(foundation.SwapID, string)
LogDebug(foundation.SwapID, string)
LogError(foundation.SwapID, error)
}
type Swap ¶
type Swap struct {
foundation.SwapBlob
Secret [32]byte `json:"secret"`
Password string `json:"password"`
}
type Swapper ¶
type Swapper interface {
Run(done <-chan struct{}, swaps <-chan Swap, statuses chan<- foundation.SwapStatus)
}
Click to show internal directories.
Click to hide internal directories.