secp256k1mocks

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 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 Signer

type Signer struct {
	mock.Mock
}

Signer is an autogenerated mock type for the Signer type

func NewSigner

func NewSigner(t interface {
	mock.TestingT
	Cleanup(func())
}) *Signer

NewSigner creates a new instance of Signer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Signer) Sign

func (_m *Signer) Sign(msgToHashAndSign []byte) (*secp256k1.SignatureData, error)

Sign provides a mock function with given fields: msgToHashAndSign

type SignerDirect added in v1.1.11

type SignerDirect struct {
	mock.Mock
}

SignerDirect is an autogenerated mock type for the SignerDirect type

func NewSignerDirect added in v1.1.11

func NewSignerDirect(t interface {
	mock.TestingT
	Cleanup(func())
}) *SignerDirect

NewSignerDirect creates a new instance of SignerDirect. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SignerDirect) Sign added in v1.1.11

func (_m *SignerDirect) Sign(msgToHashAndSign []byte) (*secp256k1.SignatureData, error)

Sign provides a mock function with given fields: msgToHashAndSign

func (*SignerDirect) SignDirect added in v1.1.11

func (_m *SignerDirect) SignDirect(message []byte) (*secp256k1.SignatureData, error)

SignDirect provides a mock function with given fields: message

Jump to

Keyboard shortcuts

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