mock

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCryptoManager

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

MockCryptoManager is a mock of CryptoManager interface.

func NewMockCryptoManager

func NewMockCryptoManager(ctrl *gomock.Controller) *MockCryptoManager

NewMockCryptoManager creates a new mock instance.

func (*MockCryptoManager) EXPECT

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

func (*MockCryptoManager) GenerateKeyPair

func (m *MockCryptoManager) GenerateKeyPair(mnemonic string) (*crypto.KeyPairs, error)

GenerateKeyPair mocks base method.

func (*MockCryptoManager) GenerateMnemonic added in v0.1.8

func (m *MockCryptoManager) GenerateMnemonic() (string, error)

GenerateMnemonic mocks base method.

type MockCryptoManagerMockRecorder

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

MockCryptoManagerMockRecorder is the mock recorder for MockCryptoManager.

func (*MockCryptoManagerMockRecorder) GenerateKeyPair

func (mr *MockCryptoManagerMockRecorder) GenerateKeyPair(mnemonic interface{}) *gomock.Call

GenerateKeyPair indicates an expected call of GenerateKeyPair.

func (*MockCryptoManagerMockRecorder) GenerateMnemonic added in v0.1.8

func (mr *MockCryptoManagerMockRecorder) GenerateMnemonic() *gomock.Call

GenerateMnemonic indicates an expected call of GenerateMnemonic.

Jump to

Keyboard shortcuts

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