mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

type Queue struct {
	mock.Mock
}

Queue is an autogenerated mock type for the Queue type

func (*Queue) Close

func (_m *Queue) Close()

Close provides a mock function with given fields:

func (*Queue) Publish

func (_m *Queue) Publish(event *events.Event) error

Publish provides a mock function with given fields: event

func (*Queue) Subscribe

func (_m *Queue) Subscribe(topic string, handler events.Handler) (events.Subscription, error)

Subscribe provides a mock function with given fields: topic, handler

type Subscription

type Subscription struct {
	mock.Mock
}

Subscription is an autogenerated mock type for the Subscription type

func (*Subscription) Unsubscribe

func (_m *Subscription) Unsubscribe() error

Unsubscribe provides a mock function with given fields:

Jump to

Keyboard shortcuts

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