sessions

package
v0.0.0-...-d841f61 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_sessions is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

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

MockStore is a mock of Store interface

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) Get

func (m *MockStore) Get(arg0 *http.Request, arg1 string) (*sessions.Session, error)

Get mocks base method

func (*MockStore) New

func (m *MockStore) New(arg0 *http.Request, arg1 string) (*sessions.Session, error)

New mocks base method

func (*MockStore) Save

func (m *MockStore) Save(arg0 *http.Request, arg1 http.ResponseWriter, arg2 *sessions.Session) error

Save mocks base method

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) Get

func (mr *MockStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockStoreMockRecorder) New

func (mr *MockStoreMockRecorder) New(arg0, arg1 interface{}) *gomock.Call

New indicates an expected call of New

func (*MockStoreMockRecorder) Save

func (mr *MockStoreMockRecorder) Save(arg0, arg1, arg2 interface{}) *gomock.Call

Save indicates an expected call of Save

Jump to

Keyboard shortcuts

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