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 ¶
func (m *MockSingleflight) EXPECT() *MockSingleflightMockRecorder
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.
Click to show internal directories.
Click to hide internal directories.