mocks

package
v2.3.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 3 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) Close

func (_m *GatewayConnectorHandler) Close() error

Close provides a mock function with given fields:

func (*GatewayConnectorHandler) HandleGatewayMessage

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

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

func (*GatewayConnectorHandler) Start

Start provides a mock function with given fields: _a0

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