storestest

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package storestest is a generated GoMock package.

Package storestest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCache added in v0.0.60

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

MockCache is a mock of Cache interface.

func NewMockCache added in v0.0.60

func NewMockCache(ctrl *gomock.Controller) *MockCache

NewMockCache creates a new mock instance.

func (*MockCache) EXPECT added in v0.0.60

func (m *MockCache) EXPECT() *MockCacheMockRecorder

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

func (*MockCache) GetMessage added in v0.0.60

func (m *MockCache) GetMessage(location string) ([]byte, error)

GetMessage mocks base method.

func (*MockCache) SetMessage added in v0.0.60

func (m *MockCache) SetMessage(location string, msg []byte) error

SetMessage mocks base method.

type MockCacheMockRecorder added in v0.0.60

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

MockCacheMockRecorder is the mock recorder for MockCache.

func (*MockCacheMockRecorder) GetMessage added in v0.0.60

func (mr *MockCacheMockRecorder) GetMessage(location interface{}) *gomock.Call

GetMessage indicates an expected call of GetMessage.

func (*MockCacheMockRecorder) SetMessage added in v0.0.60

func (mr *MockCacheMockRecorder) SetMessage(location, msg interface{}) *gomock.Call

SetMessage indicates an expected call of SetMessage.

type MockSent

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

MockSent is a mock of Sent interface.

func NewMockSent

func NewMockSent(ctrl *gomock.Controller) *MockSent

NewMockSent creates a new mock instance.

func (*MockSent) EXPECT

func (m *MockSent) EXPECT() *MockSentMockRecorder

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

func (*MockSent) Key

func (m *MockSent) Key(messageID mail.ID, contentsHash, msg []byte) string

Key mocks base method.

func (*MockSent) PutMessage

func (m *MockSent) PutMessage(messageID mail.ID, contentsHash, msg []byte, headers map[string]string) (string, string, uint64, error)

PutMessage mocks base method.

type MockSentMockRecorder

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

MockSentMockRecorder is the mock recorder for MockSent.

func (*MockSentMockRecorder) Key

func (mr *MockSentMockRecorder) Key(messageID, contentsHash, msg interface{}) *gomock.Call

Key indicates an expected call of Key.

func (*MockSentMockRecorder) PutMessage

func (mr *MockSentMockRecorder) PutMessage(messageID, contentsHash, msg, headers interface{}) *gomock.Call

PutMessage indicates an expected call of PutMessage.

Jump to

Keyboard shortcuts

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