mock

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventPublisher

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

EventPublisher is a mock event publisher implementation

func NewEventPublisher

func NewEventPublisher(dir string) *EventPublisher

NewEventPublisher returns a new EventPublisher object

func (*EventPublisher) Close

func (e *EventPublisher) Close()

Close is a mock implementation of the Close method

func (*EventPublisher) Publish

func (e *EventPublisher) Publish(event common.Event) error

Publish is a mock implementation of the Publish method

Jump to

Keyboard shortcuts

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