mockhashingfactory

package
v0.0.0-...-9cb16bd Latest Latest
Warning

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

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

Documentation

Overview

Package mockhashingfactory is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHashingFactory

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

MockHashingFactory is a mock of HashingFactory interface.

func NewMockHashingFactory

func NewMockHashingFactory(ctrl *gomock.Controller) *MockHashingFactory

NewMockHashingFactory creates a new mock instance.

func (*MockHashingFactory) ComparePassword

func (m *MockHashingFactory) ComparePassword(password, hash string) bool

ComparePassword mocks base method.

func (*MockHashingFactory) EXPECT

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

func (*MockHashingFactory) HashPassword

func (m *MockHashingFactory) HashPassword(password string) (string, error)

HashPassword mocks base method.

type MockHashingFactoryMockRecorder

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

MockHashingFactoryMockRecorder is the mock recorder for MockHashingFactory.

func (*MockHashingFactoryMockRecorder) ComparePassword

func (mr *MockHashingFactoryMockRecorder) ComparePassword(password, hash interface{}) *gomock.Call

ComparePassword indicates an expected call of ComparePassword.

func (*MockHashingFactoryMockRecorder) HashPassword

func (mr *MockHashingFactoryMockRecorder) HashPassword(password interface{}) *gomock.Call

HashPassword indicates an expected call of HashPassword.

Jump to

Keyboard shortcuts

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