mock_gox_base

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package mock_gox_base is a generated GoMock package.

Package mock_gox_base 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) Lock

func (m *MockLock) Lock() error

Lock mocks base method

func (*MockLock) Release

func (m *MockLock) Release() error

Release mocks base method

type MockLockMockRecorder

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

MockLockMockRecorder is the mock recorder for MockLock

func (*MockLockMockRecorder) Lock

func (mr *MockLockMockRecorder) Lock() *gomock.Call

Lock indicates an expected call of Lock

func (*MockLockMockRecorder) Release

func (mr *MockLockMockRecorder) Release() *gomock.Call

Release indicates an expected call of Release

type MockLocker

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

MockLocker is a mock of Locker interface

func NewMockLocker

func NewMockLocker(ctrl *gomock.Controller) *MockLocker

NewMockLocker creates a new mock instance

func (*MockLocker) EXPECT

func (m *MockLocker) EXPECT() *MockLockerMockRecorder

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

func (*MockLocker) GetLock

func (m *MockLocker) GetLock(arg0 *gox.LockInfo) (gox.Lock, error)

GetLock mocks base method

type MockLockerMockRecorder

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

MockLockerMockRecorder is the mock recorder for MockLocker

func (*MockLockerMockRecorder) GetLock

func (mr *MockLockerMockRecorder) GetLock(arg0 interface{}) *gomock.Call

GetLock indicates an expected call of GetLock

Jump to

Keyboard shortcuts

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