mocks

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	mock.Mock
}

Event is an autogenerated mock type for the Event type

func (*Event) Equal

func (_m *Event) Equal(_a0 wire.Event) bool

Equal provides a mock function with given fields: _a0

func (*Event) Sender

func (_m *Event) Sender() []byte

Sender provides a mock function with given fields:

type EventHandler

type EventHandler struct {
	mock.Mock
}

EventHandler is an autogenerated mock type for the EventHandler type

func (*EventHandler) Deserialize

func (_m *EventHandler) Deserialize(_a0 *bytes.Buffer) (wire.Event, error)

Deserialize provides a mock function with given fields: _a0

func (*EventHandler) ExtractHeader

func (_m *EventHandler) ExtractHeader(_a0 wire.Event) *header.Header

ExtractHeader provides a mock function with given fields: _a0

func (*EventHandler) Marshal

func (_m *EventHandler) Marshal(_a0 *bytes.Buffer, _a1 wire.Event) error

Marshal provides a mock function with given fields: _a0, _a1

func (*EventHandler) Verify

func (_m *EventHandler) Verify(_a0 wire.Event) error

Verify provides a mock function with given fields: _a0

type EventProcessor

type EventProcessor struct {
	mock.Mock
}

EventProcessor is an autogenerated mock type for the EventProcessor type

func (*EventProcessor) Process

func (_m *EventProcessor) Process(_a0 wire.Event)

Process provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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