package
0.4.3
Repository: https://github.com/athanorlabs/atomic-swap.git
Documentation: pkg.go.dev

# Functions

NewInfo creates a new *Info from the given parameters.
NewManager returns a new Manager that uses the given database.
NewMockDatabase creates a new mock instance.
UnmarshalInfo unmarshalls the passed JSON into a freshly created Info object.

# Variables

CurInfoVersion is the latest supported version of a serialised Info struct.

# Structs

Info contains the details of the swap as well as its status.
MockDatabase is a mock of Database interface.
MockDatabaseMockRecorder is the mock recorder for MockDatabase.

# Interfaces

Database contains the db functions used by the swap manager.
Manager tracks current and past swaps.

# Type aliases

No description provided by the author