mocks

package
v0.0.0-...-dc61bab Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HasherService

type HasherService struct {
	mock.Mock
}

HasherService is an autogenerated mock type for the HasherService type

func NewHasherService

func NewHasherService(t mockConstructorTestingTNewHasherService) *HasherService

NewHasherService creates a new instance of HasherService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*HasherService) HashPassword

func (_m *HasherService) HashPassword(password string) (string, error)

HashPassword provides a mock function with given fields: password

func (*HasherService) VerifyPassword

func (_m *HasherService) VerifyPassword(password string, _a1 string) bool

VerifyPassword provides a mock function with given fields: password, _a1

Jump to

Keyboard shortcuts

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