fakes

package
v25.7.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2017 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 bgcaction.Action
	CallArgs   []interface{}
	CallResult interface{}
	CallErr    error
}

func (*FakeCaller) Call

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