mocks

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Locker

type Locker struct {
	mock.Mock
}

Locker is an autogenerated mock type for the Locker type

func (*Locker) Lock

func (_m *Locker) Lock(ctx context.Context) (bool, error)

Lock provides a mock function with given fields: ctx

func (*Locker) Unlock

func (_m *Locker) Unlock(ctx context.Context) error

Unlock provides a mock function with given fields: ctx

func (*Locker) WaitAndLock

func (_m *Locker) WaitAndLock(ctx context.Context) error

WaitAndLock provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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