unsubscribe_mocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package unsubscribe_mocks is a generated GoMock package.

Package unsubscribe_mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFacade

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

MockFacade is a mock of Facade interface.

func NewMockFacade

func NewMockFacade(ctrl *gomock.Controller) *MockFacade

NewMockFacade creates a new mock instance.

func (*MockFacade) EXPECT

func (m *MockFacade) EXPECT() *MockFacadeMockRecorder

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

func (*MockFacade) IsEmailUnsubscribed

func (m *MockFacade) IsEmailUnsubscribed(ctx context.Context, email string) (bool, error)

IsEmailUnsubscribed mocks base method.

func (*MockFacade) UnsubscribeEmail

func (m *MockFacade) UnsubscribeEmail(ctx context.Context, token string) (string, error)

UnsubscribeEmail mocks base method.

type MockFacadeMockRecorder

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

MockFacadeMockRecorder is the mock recorder for MockFacade.

func (*MockFacadeMockRecorder) IsEmailUnsubscribed

func (mr *MockFacadeMockRecorder) IsEmailUnsubscribed(ctx, email any) *gomock.Call

IsEmailUnsubscribed indicates an expected call of IsEmailUnsubscribed.

func (*MockFacadeMockRecorder) UnsubscribeEmail

func (mr *MockFacadeMockRecorder) UnsubscribeEmail(ctx, token any) *gomock.Call

UnsubscribeEmail indicates an expected call of UnsubscribeEmail.

type MockViews

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

MockViews is a mock of Views interface.

func NewMockViews

func NewMockViews(ctrl *gomock.Controller) *MockViews

NewMockViews creates a new mock instance.

func (*MockViews) EXPECT

func (m *MockViews) EXPECT() *MockViewsMockRecorder

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

func (*MockViews) Load

func (m *MockViews) Load() error

Load mocks base method.

func (*MockViews) Render

func (m *MockViews) Render(out io.Writer, name string, binding any, layout ...string) error

Render mocks base method.

type MockViewsMockRecorder

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

MockViewsMockRecorder is the mock recorder for MockViews.

func (*MockViewsMockRecorder) Load

func (mr *MockViewsMockRecorder) Load() *gomock.Call

Load indicates an expected call of Load.

func (*MockViewsMockRecorder) Render

func (mr *MockViewsMockRecorder) Render(out, name, binding any, layout ...any) *gomock.Call

Render indicates an expected call of Render.

Jump to

Keyboard shortcuts

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