mocks

package
v2.2.0-mercury-20230527 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayConnectorHandler

type GatewayConnectorHandler struct {
	mock.Mock
}

GatewayConnectorHandler is an autogenerated mock type for the GatewayConnectorHandler type

func NewGatewayConnectorHandler

func NewGatewayConnectorHandler(t mockConstructorTestingTNewGatewayConnectorHandler) *GatewayConnectorHandler

NewGatewayConnectorHandler creates a new instance of GatewayConnectorHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*GatewayConnectorHandler) HandleGatewayMessage

func (_m *GatewayConnectorHandler) HandleGatewayMessage(gatewayId string, msg *gateway.Message)

HandleGatewayMessage provides a mock function with given fields: gatewayId, msg

type Signer

type Signer struct {
	mock.Mock
}

Signer is an autogenerated mock type for the Signer type

func NewSigner

func NewSigner(t mockConstructorTestingTNewSigner) *Signer

NewSigner creates a new instance of Signer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Signer) Sign

func (_m *Signer) Sign(data ...[]byte) ([]byte, error)

Sign provides a mock function with given fields: data

Jump to

Keyboard shortcuts

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