mock_wallet

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_wallet is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockWallet

type MockWallet struct {
	// contains filtered or unexported fields
}

MockWallet is a mock of Wallet interface

func NewMockWallet

func NewMockWallet(ctrl *gomock.Controller) *MockWallet

NewMockWallet creates a new mock instance

func (*MockWallet) Close

func (m *MockWallet) Close()

Close mocks base method

func (*MockWallet) Create

func (m *MockWallet) Create(name, passphrase, pubKeyStr, privKeyStr string) error

Create mocks base method

func (*MockWallet) EXPECT

func (m *MockWallet) EXPECT() *MockWalletMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockWallet) GenerateNewKey

func (m *MockWallet) GenerateNewKey() (string, string, error)

GenerateNewKey mocks base method

func (*MockWallet) GetUnlockedAccount

func (m *MockWallet) GetUnlockedAccount(name string) (*wallet.PrivAccount, bool)

GetUnlockedAccount mocks base method

func (*MockWallet) Info

func (m *MockWallet) Info(name string) string

Info mocks base method

func (*MockWallet) IsExist

func (m *MockWallet) IsExist(name string) bool

IsExist mocks base method

func (*MockWallet) IsLocked

func (m *MockWallet) IsLocked(name string) bool

IsLocked mocks base method

func (*MockWallet) List

func (m *MockWallet) List() []string

List mocks base method

func (*MockWallet) Load

func (m *MockWallet) Load(name string) error

Load mocks base method

func (*MockWallet) Lock

func (m *MockWallet) Lock(name string) error

Lock mocks base method

func (*MockWallet) Name

func (m *MockWallet) Name() string

Name mocks base method

func (*MockWallet) Path

func (m *MockWallet) Path() string

Path mocks base method

func (*MockWallet) Unlock

func (m *MockWallet) Unlock(name, passphrase string) error

Unlock mocks base method

type MockWalletMockRecorder

type MockWalletMockRecorder struct {
	// contains filtered or unexported fields
}

MockWalletMockRecorder is the mock recorder for MockWallet

func (*MockWalletMockRecorder) Close

func (mr *MockWalletMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockWalletMockRecorder) Create

func (mr *MockWalletMockRecorder) Create(name, passphrase, pubKeyStr, privKeyStr interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockWalletMockRecorder) GenerateNewKey

func (mr *MockWalletMockRecorder) GenerateNewKey() *gomock.Call

GenerateNewKey indicates an expected call of GenerateNewKey

func (*MockWalletMockRecorder) GetUnlockedAccount

func (mr *MockWalletMockRecorder) GetUnlockedAccount(name interface{}) *gomock.Call

GetUnlockedAccount indicates an expected call of GetUnlockedAccount

func (*MockWalletMockRecorder) Info

func (mr *MockWalletMockRecorder) Info(name interface{}) *gomock.Call

Info indicates an expected call of Info

func (*MockWalletMockRecorder) IsExist

func (mr *MockWalletMockRecorder) IsExist(name interface{}) *gomock.Call

IsExist indicates an expected call of IsExist

func (*MockWalletMockRecorder) IsLocked

func (mr *MockWalletMockRecorder) IsLocked(name interface{}) *gomock.Call

IsLocked indicates an expected call of IsLocked

func (*MockWalletMockRecorder) List

func (mr *MockWalletMockRecorder) List() *gomock.Call

List indicates an expected call of List

func (*MockWalletMockRecorder) Load

func (mr *MockWalletMockRecorder) Load(name interface{}) *gomock.Call

Load indicates an expected call of Load

func (*MockWalletMockRecorder) Lock

func (mr *MockWalletMockRecorder) Lock(name interface{}) *gomock.Call

Lock indicates an expected call of Lock

func (*MockWalletMockRecorder) Name

func (mr *MockWalletMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockWalletMockRecorder) Path

func (mr *MockWalletMockRecorder) Path() *gomock.Call

Path indicates an expected call of Path

func (*MockWalletMockRecorder) Unlock

func (mr *MockWalletMockRecorder) Unlock(name, passphrase interface{}) *gomock.Call

Unlock indicates an expected call of Unlock

Jump to

Keyboard shortcuts

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