processor

package
v0.0.0-...-b47799d Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package processor manage polling of associations, dispatching association to processor

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookkeepingMock

type BookkeepingMock struct {
	mock.Mock
}

func (*BookkeepingMock) PersistData

func (m *BookkeepingMock) PersistData(log log.T, commandID, instanceID, locationFolder string, object interface{})

PersistData mocks implementation for PersistData

type ParserMock

type ParserMock struct {
	mock.Mock
}

func (*ParserMock) InitializeDocumentState

func (m *ParserMock) InitializeDocumentState(
	context context.T,
	payload *messageContract.SendCommandPayload,
	rawData *model.InstanceAssociation) (contracts.DocumentState, error)

InitializeDocumentState mocks implementation for InitializeDocumentState

func (*ParserMock) ParseDocumentForPayload

func (m *ParserMock) ParseDocumentForPayload(
	log log.T, rawData *model.InstanceAssociation) (*messageContract.SendCommandPayload, error)

InitializeDocumentState mocks implementation for InitializeDocumentState

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳