mock

package
v0.0.0-...-edd4e79 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSessionStore

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

MockSessionStore is a mock of KeyValueStore interface.

func NewMockSessionStore

func NewMockSessionStore(ctrl *gomock.Controller) *MockSessionStore

NewMockSessionStore creates a new mock instance.

func (*MockSessionStore) DeleteKey

func (m *MockSessionStore) DeleteKey(ctx context.Context, key string) error

DeleteKey mocks base method.

func (*MockSessionStore) EXPECT

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

func (*MockSessionStore) PutKey

func (m *MockSessionStore) PutKey(ctx context.Context, key, value string) error

PutKey mocks base method.

func (*MockSessionStore) ReadKey

func (m *MockSessionStore) ReadKey(ctx context.Context, key string) (string, bool, error)

ReadKey mocks base method.

func (*MockSessionStore) ReadPrefixKey

func (m *MockSessionStore) ReadPrefixKey(ctx context.Context, prefix string) (map[string]string, error)

ReadPrefixKey mocks base method.

type MockSessionStoreMockRecorder

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

MockSessionStoreMockRecorder is the mock recorder for MockSessionStore.

func (*MockSessionStoreMockRecorder) DeleteKey

func (mr *MockSessionStoreMockRecorder) DeleteKey(ctx, key interface{}) *gomock.Call

DeleteKey indicates an expected call of DeleteKey.

func (*MockSessionStoreMockRecorder) PutKey

func (mr *MockSessionStoreMockRecorder) PutKey(ctx, key, value interface{}) *gomock.Call

PutKey indicates an expected call of PutKey.

func (*MockSessionStoreMockRecorder) ReadKey

func (mr *MockSessionStoreMockRecorder) ReadKey(ctx, key interface{}) *gomock.Call

ReadKey indicates an expected call of ReadKey.

func (*MockSessionStoreMockRecorder) ReadPrefixKey

func (mr *MockSessionStoreMockRecorder) ReadPrefixKey(ctx, prefix interface{}) *gomock.Call

ReadPrefixKey indicates an expected call of ReadPrefixKey.

Jump to

Keyboard shortcuts

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