mocks

package
v0.0.0-...-2ad2f98 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Allow

type Allow struct {
	mock.Mock
}

Allow is an autogenerated mock type for the Allow type

func NewAllow

func NewAllow(t interface {
	mock.TestingT
	Cleanup(func())
}) *Allow

NewAllow creates a new instance of Allow. 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 (*Allow) Emails

func (_m *Allow) Emails() []string

Emails provides a mock function with given fields:

func (*Allow) Member

func (_m *Allow) Member(email string) bool

Member provides a mock function with given fields: email

Jump to

Keyboard shortcuts

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