mock_session

package
v4.34.5 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_session is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStorer

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

MockStorer is a mock of Storer interface

func NewMockStorer

func NewMockStorer(ctrl *gomock.Controller) *MockStorer

NewMockStorer creates a new mock instance

func (*MockStorer) Delete

func (m *MockStorer) Delete(arg0 string)

Delete mocks base method

func (*MockStorer) DeleteBytes

func (m *MockStorer) DeleteBytes(arg0 []byte)

DeleteBytes mocks base method

func (*MockStorer) EXPECT

func (m *MockStorer) EXPECT() *MockStorerMockRecorder

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

func (*MockStorer) Flush

func (m *MockStorer) Flush()

Flush mocks base method

func (*MockStorer) Get

func (m *MockStorer) Get(arg0 string) interface{}

Get mocks base method

func (*MockStorer) GetAll

func (m *MockStorer) GetAll() session.Dict

GetAll mocks base method

func (*MockStorer) GetBytes

func (m *MockStorer) GetBytes(arg0 []byte) interface{}

GetBytes mocks base method

func (*MockStorer) GetExpiration

func (m *MockStorer) GetExpiration() time.Duration

GetExpiration mocks base method

func (*MockStorer) GetSessionID

func (m *MockStorer) GetSessionID() []byte

GetSessionID mocks base method

func (*MockStorer) HasExpirationChanged

func (m *MockStorer) HasExpirationChanged() bool

HasExpirationChanged mocks base method

func (*MockStorer) Save

func (m *MockStorer) Save() error

Save mocks base method

func (*MockStorer) Set

func (m *MockStorer) Set(arg0 string, arg1 interface{})

Set mocks base method

func (*MockStorer) SetBytes

func (m *MockStorer) SetBytes(arg0 []byte, arg1 interface{})

SetBytes mocks base method

func (*MockStorer) SetExpiration

func (m *MockStorer) SetExpiration(arg0 time.Duration) error

SetExpiration mocks base method

type MockStorerMockRecorder

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

MockStorerMockRecorder is the mock recorder for MockStorer

func (*MockStorerMockRecorder) Delete

func (mr *MockStorerMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockStorerMockRecorder) DeleteBytes

func (mr *MockStorerMockRecorder) DeleteBytes(arg0 interface{}) *gomock.Call

DeleteBytes indicates an expected call of DeleteBytes

func (*MockStorerMockRecorder) Flush

func (mr *MockStorerMockRecorder) Flush() *gomock.Call

Flush indicates an expected call of Flush

func (*MockStorerMockRecorder) Get

func (mr *MockStorerMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockStorerMockRecorder) GetAll

func (mr *MockStorerMockRecorder) GetAll() *gomock.Call

GetAll indicates an expected call of GetAll

func (*MockStorerMockRecorder) GetBytes

func (mr *MockStorerMockRecorder) GetBytes(arg0 interface{}) *gomock.Call

GetBytes indicates an expected call of GetBytes

func (*MockStorerMockRecorder) GetExpiration

func (mr *MockStorerMockRecorder) GetExpiration() *gomock.Call

GetExpiration indicates an expected call of GetExpiration

func (*MockStorerMockRecorder) GetSessionID

func (mr *MockStorerMockRecorder) GetSessionID() *gomock.Call

GetSessionID indicates an expected call of GetSessionID

func (*MockStorerMockRecorder) HasExpirationChanged

func (mr *MockStorerMockRecorder) HasExpirationChanged() *gomock.Call

HasExpirationChanged indicates an expected call of HasExpirationChanged

func (*MockStorerMockRecorder) Save

func (mr *MockStorerMockRecorder) Save() *gomock.Call

Save indicates an expected call of Save

func (*MockStorerMockRecorder) Set

func (mr *MockStorerMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call

Set indicates an expected call of Set

func (*MockStorerMockRecorder) SetBytes

func (mr *MockStorerMockRecorder) SetBytes(arg0, arg1 interface{}) *gomock.Call

SetBytes indicates an expected call of SetBytes

func (*MockStorerMockRecorder) SetExpiration

func (mr *MockStorerMockRecorder) SetExpiration(arg0 interface{}) *gomock.Call

SetExpiration indicates an expected call of SetExpiration

Jump to

Keyboard shortcuts

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