Documentation
¶
Overview ¶
Package mock_engine is a generated GoMock package.
Index ¶
- type MockCacheEngine
- func (m *MockCacheEngine) EXPECT() *MockCacheEngineMockRecorder
- func (m *MockCacheEngine) Get(ctx context.Context, key string, req *http.Request) (*http.Response, bool, error)
- func (m *MockCacheEngine) Key(req *http.Request) (string, error)
- func (m *MockCacheEngine) Set(ctx context.Context, key string, res *http.Response, expiration time.Duration) error
- type MockCacheEngineMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCacheEngine ¶
type MockCacheEngine struct {
// contains filtered or unexported fields
}
MockCacheEngine is a mock of CacheEngine interface.
func NewMockCacheEngine ¶
func NewMockCacheEngine(ctrl *gomock.Controller) *MockCacheEngine
NewMockCacheEngine creates a new mock instance.
func (*MockCacheEngine) EXPECT ¶
func (m *MockCacheEngine) EXPECT() *MockCacheEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCacheEngine) Get ¶
func (m *MockCacheEngine) Get(ctx context.Context, key string, req *http.Request) (*http.Response, bool, error)
Get mocks base method.
type MockCacheEngineMockRecorder ¶
type MockCacheEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheEngineMockRecorder is the mock recorder for MockCacheEngine.
func (*MockCacheEngineMockRecorder) Get ¶
func (mr *MockCacheEngineMockRecorder) Get(ctx, key, req any) *gomock.Call
Get indicates an expected call of Get.
Click to show internal directories.
Click to hide internal directories.