fakes

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2014 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAction

type FakeAction struct{}

func (*FakeAction) Run

func (a *FakeAction) Run(payload []byte) (interface{}, error)

type FakeFactory

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

func NewFakeFactory

func NewFakeFactory() *FakeFactory

func (*FakeFactory) Create

func (f *FakeFactory) Create(method string) (bslcaction.Action, error)

func (*FakeFactory) RegisterAction

func (f *FakeFactory) RegisterAction(method string, action *FakeAction)

func (*FakeFactory) RegisterActionErr

func (f *FakeFactory) RegisterActionErr(method string, err error)

Jump to

Keyboard shortcuts

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