mockqueue

package
v5.10.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: MIT, MIT, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Getter

type Getter struct {
	mock.Mock
}

Getter ...

func (*Getter) GetQueue

func (g *Getter) GetQueue(path ...string) types.Queue

GetQueue ...

type MockQueue

type MockQueue struct {
	mock.Mock
}

MockQueue ...

func (*MockQueue) Dequeue

func (m *MockQueue) Dequeue(ctx context.Context) (types.QueueItem, error)

Dequeue ...

func (*MockQueue) Enqueue

func (m *MockQueue) Enqueue(ctx context.Context, value string) error

Enqueue ...

Jump to

Keyboard shortcuts

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