repository

package
v0.0.1-alpha-10 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBurnEventRepository

type MockBurnEventRepository struct {
	mock.Mock
}

func (*MockBurnEventRepository) Create

func (berm *MockBurnEventRepository) Create(id string, amount int64, recipient string) error

func (*MockBurnEventRepository) Get

func (*MockBurnEventRepository) UpdateStatusCompleted

func (berm *MockBurnEventRepository) UpdateStatusCompleted(id string) error

func (*MockBurnEventRepository) UpdateStatusFailed

func (berm *MockBurnEventRepository) UpdateStatusFailed(id string) error

func (*MockBurnEventRepository) UpdateStatusSubmitted

func (berm *MockBurnEventRepository) UpdateStatusSubmitted(ethTxHash, scheduleID, transactionId string) error

type MockFeeRepository

type MockFeeRepository struct {
	mock.Mock
}

func (*MockFeeRepository) Create

func (mfr *MockFeeRepository) Create(entity *entity.Fee) error

func (*MockFeeRepository) Get

func (mfr *MockFeeRepository) Get(id string) (*entity.Fee, error)

func (*MockFeeRepository) UpdateStatusCompleted

func (mfr *MockFeeRepository) UpdateStatusCompleted(id string) error

func (*MockFeeRepository) UpdateStatusFailed

func (mfr *MockFeeRepository) UpdateStatusFailed(id string) error

Jump to

Keyboard shortcuts

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