mocks

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConditionalLogoutHandler

type ConditionalLogoutHandler struct {
	mock.Mock
}

ConditionalLogoutHandler is an autogenerated mock type for the ConditionalLogoutHandler type

func NewConditionalLogoutHandler

func NewConditionalLogoutHandler(t mockConstructorTestingTNewConditionalLogoutHandler) *ConditionalLogoutHandler

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

func (*ConditionalLogoutHandler) ShouldLogout

ShouldLogout provides a mock function with given fields: _a0, _a1, _a2, _a3

type LogoutHandler

type LogoutHandler struct {
	mock.Mock
}

LogoutHandler is an autogenerated mock type for the LogoutHandler type

func NewLogoutHandler

func NewLogoutHandler(t mockConstructorTestingTNewLogoutHandler) *LogoutHandler

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

func (*LogoutHandler) HandleLogout

func (_m *LogoutHandler) HandleLogout(_a0 context.Context, _a1 *http.Request, _a2 http.ResponseWriter, _a3 security.Authentication) error

HandleLogout provides a mock function with given fields: _a0, _a1, _a2, _a3

Jump to

Keyboard shortcuts

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