mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSingleflight

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

MockSingleflight is a mock of Singleflight interface.

func NewMockSingleflight

func NewMockSingleflight(ctrl *gomock.Controller) *MockSingleflight

NewMockSingleflight creates a new mock instance.

func (*MockSingleflight) Do

func (m *MockSingleflight) Do(arg0 string, arg1 func() (interface{}, error)) (interface{}, error)

Do mocks base method.

func (*MockSingleflight) EXPECT

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

type MockSingleflightMockRecorder

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

MockSingleflightMockRecorder is the mock recorder for MockSingleflight.

func (*MockSingleflightMockRecorder) Do

func (mr *MockSingleflightMockRecorder) Do(arg0, arg1 interface{}) *gomock.Call

Do indicates an expected call of Do.

Jump to

Keyboard shortcuts

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