mocks

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2018 License: 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 ForwardFunc added in v0.5.0

type ForwardFunc func(message *streams.Message)

type Pipe added in v0.3.0

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

func NewPipe added in v0.3.0

func NewPipe(t *testing.T) *Pipe

func (*Pipe) AssertExpectations added in v0.3.0

func (p *Pipe) AssertExpectations()

func (*Pipe) Commit added in v0.3.0

func (p *Pipe) Commit(msg *streams.Message) error

func (*Pipe) ExpectCommit added in v0.3.0

func (p *Pipe) ExpectCommit()

func (*Pipe) ExpectForward added in v0.3.0

func (p *Pipe) ExpectForward(k, v interface{})

func (*Pipe) ExpectForwardToChild added in v0.3.0

func (p *Pipe) ExpectForwardToChild(k, v interface{}, index int)

func (*Pipe) Forward added in v0.3.0

func (p *Pipe) Forward(msg *streams.Message) error

func (*Pipe) ForwardToChild added in v0.3.0

func (p *Pipe) ForwardToChild(msg *streams.Message, index int) error

func (*Pipe) OnForward added in v0.5.0

func (p *Pipe) OnForward(fn ForwardFunc)

func (*Pipe) ShouldError added in v0.3.0

func (p *Pipe) ShouldError()

Jump to

Keyboard shortcuts

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