mock

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MIT Imports: 2 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 MockAlgorithm

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

MockAlgorithm is a mock of Algorithm interface.

func NewMockAlgorithm

func NewMockAlgorithm(ctrl *gomock.Controller) *MockAlgorithm

NewMockAlgorithm creates a new mock instance.

func (*MockAlgorithm) EXPECT

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

func (*MockAlgorithm) Name

func (m *MockAlgorithm) Name() (string, error)

Name mocks base method.

func (*MockAlgorithm) Sign

func (m *MockAlgorithm) Sign(data []byte) ([]byte, error)

Sign mocks base method.

func (*MockAlgorithm) Size

func (m *MockAlgorithm) Size() (int, error)

Size mocks base method.

func (*MockAlgorithm) Verify

func (m *MockAlgorithm) Verify(data, signature []byte) (bool, error)

Verify mocks base method.

type MockAlgorithmMockRecorder

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

MockAlgorithmMockRecorder is the mock recorder for MockAlgorithm.

func (*MockAlgorithmMockRecorder) Name

Name indicates an expected call of Name.

func (*MockAlgorithmMockRecorder) Sign

func (mr *MockAlgorithmMockRecorder) Sign(data interface{}) *gomock.Call

Sign indicates an expected call of Sign.

func (*MockAlgorithmMockRecorder) Size

Size indicates an expected call of Size.

func (*MockAlgorithmMockRecorder) Verify

func (mr *MockAlgorithmMockRecorder) Verify(data, signature interface{}) *gomock.Call

Verify indicates an expected call of Verify.

Jump to

Keyboard shortcuts

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