reconciliation

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxFileBytes = 10 << 20
	MaxRows      = 10_000
	MaxColumns   = 64
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ImportInput

type ImportInput struct {
	Filename string
	Data     []byte
	Actor    audit.Actor
}

type Result

type Result struct {
	RunID         string `json:"runId"`
	Status        string `json:"status"`
	TotalRows     int    `json:"totalRows"`
	MatchedRows   int    `json:"matchedRows"`
	UnmatchedRows int    `json:"unmatchedRows"`
	DuplicateRows int    `json:"duplicateRows"`
	ConflictRows  int    `json:"conflictRows"`
	InvalidRows   int    `json:"invalidRows"`
	ReviewCases   int    `json:"reviewCases"`
}

type Service

type Service struct {
	App               core.App
	Reviews           *reviews.Service
	Alerts            *alerts.Service
	Audit             *audit.Service
	Now               func() time.Time
	StatementLocation *time.Location
}

func NewService

func NewService(app core.App, reviewService *reviews.Service, alertService *alerts.Service, auditService *audit.Service) *Service

func (*Service) Import

func (s *Service) Import(input ImportInput) (Result, error)

Jump to

Keyboard shortcuts

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