mocks

package
v0.0.0-...-ffe17f1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2016 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mutex

type Mutex struct {
	mock.Mock
}

func (*Mutex) Extend

func (_m *Mutex) Extend() bool

Extend provides a mock function with given fields:

func (*Mutex) Lock

func (_m *Mutex) Lock() error

Lock provides a mock function with given fields:

func (*Mutex) Unlock

func (_m *Mutex) Unlock() bool

Unlock provides a mock function with given fields:

type Redsync

type Redsync struct {
	mock.Mock
}

func (*Redsync) NewMutex

func (_m *Redsync) NewMutex(name string, options ...redsync.Option) redsync.Mutex

NewMutex provides a mock function with given fields: name, options

Jump to

Keyboard shortcuts

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