fakes

package
v0.0.0-...-eb548cc Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2015 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 bocaction.Action
	CallArgs   []interface{}
	CallResult interface{}
	CallErr    error
}

func (*FakeCaller) Call

func (caller *FakeCaller) Call(action bocaction.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