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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCaller

type FakeCaller struct {
	CallAction bslcaction.Action
	CallArgs   []interface{}
	CallResult interface{}
	CallErr    error
}

func (*FakeCaller) Call

func (caller *FakeCaller) Call(action bslcaction.Action, args []interface{}) (interface{}, error)

type FakeDispatcher

type FakeDispatcher struct {
	DispatchReqBytes  []byte
	DispatchRespBytes []byte
}

func (*FakeDispatcher) Dispatch

func (d *FakeDispatcher) Dispatch(reqBytes []byte) []byte

Jump to

Keyboard shortcuts

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