mutex

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mutex is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLock

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

MockLock is a mock of Lock interface.

func NewMockLock

func NewMockLock(ctrl *gomock.Controller) *MockLock

NewMockLock creates a new mock instance.

func (*MockLock) EXPECT

func (m *MockLock) EXPECT() *MockLockMockRecorder

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

func (*MockLock) Release

func (m *MockLock) Release(arg0 context.Context) error

Release mocks base method.

type MockLockMockRecorder

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

MockLockMockRecorder is the mock recorder for MockLock.

func (*MockLockMockRecorder) Release

func (mr *MockLockMockRecorder) Release(arg0 interface{}) *gomock.Call

Release indicates an expected call of Release.

type MockMutex

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

MockMutex is a mock of Mutex interface.

func NewMockMutex

func NewMockMutex(ctrl *gomock.Controller) *MockMutex

NewMockMutex creates a new mock instance.

func (*MockMutex) EXPECT

func (m *MockMutex) EXPECT() *MockMutexMockRecorder

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

func (*MockMutex) Lock

func (m *MockMutex) Lock(arg0 context.Context, arg1 string) (mutex.Lock, error)

Lock mocks base method.

type MockMutexMockRecorder

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

MockMutexMockRecorder is the mock recorder for MockMutex.

func (*MockMutexMockRecorder) Lock

func (mr *MockMutexMockRecorder) Lock(arg0, arg1 interface{}) *gomock.Call

Lock indicates an expected call of Lock.

Jump to

Keyboard shortcuts

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