search

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SqliteFilepath string

	BackgroundPrepare bool

	AchMasking mask.Options
}

type Controller

type Controller interface {
	AppendRoutes(router *mux.Router)
}

func NewController

func NewController(logger log.Logger, service Service, basePath string) Controller

type Results

type Results struct {
	Headers Row
	Rows    []Row
}

type Row

type Row struct {
	Columns []interface{}
}

type Service

type Service interface {
	Close() error

	IngestACHFile(ctx context.Context, filename string, file *ach.File) error
	IngestACHFiles(ctx context.Context, params storage.FilterParams) error

	Search(ctx context.Context, query string, params storage.FilterParams) (*Results, error)
}

func NewService

func NewService(logger log.Logger, config Config, fileStorage *storage.Repository) (Service, error)

Jump to

Keyboard shortcuts

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