mock_hasher

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_hasher is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHasher

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

MockHasher is a mock of Hasher interface.

func NewMockHasher

func NewMockHasher(ctrl *gomock.Controller) *MockHasher

NewMockHasher creates a new mock instance.

func (*MockHasher) EXPECT

func (m *MockHasher) EXPECT() *MockHasherMockRecorder

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

func (*MockHasher) Hash

func (m *MockHasher) Hash(data string) (string, error)

Hash mocks base method.

func (*MockHasher) IsValid

func (m *MockHasher) IsValid(data, hash string) (bool, error)

IsValid mocks base method.

type MockHasherMockRecorder

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

MockHasherMockRecorder is the mock recorder for MockHasher.

func (*MockHasherMockRecorder) Hash

func (mr *MockHasherMockRecorder) Hash(data interface{}) *gomock.Call

Hash indicates an expected call of Hash.

func (*MockHasherMockRecorder) IsValid

func (mr *MockHasherMockRecorder) IsValid(data, hash interface{}) *gomock.Call

IsValid indicates an expected call of IsValid.

Jump to

Keyboard shortcuts

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