test

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: May 19, 2018 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 Trigger

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

Trigger is a mock of the subscription.Trigger, this is used by tests.

func NewTrigger

func NewTrigger(err error) *Trigger

NewTrigger returns a configured mock trigger.

func (*Trigger) Push

func (t *Trigger) Push(_ context.Context, _ *flare.Document, _ string) error

Push is a mock of subscription.Push, this is used by tests.

Jump to

Keyboard shortcuts

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