storage

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: 10 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 {
	ACH achwebviewer.Sources

	ACHValidateOpts *ach.ValidateOpts
}

type File

type File struct {
	Filename string
	Contents *ach.File
}

type FileListing added in v0.5.0

type FileListing struct {
	Name        string
	StoragePath string
	SourceID    string
}

type FilterParams

type FilterParams struct {
	StartDate time.Time
	EndDate   time.Time
	Pattern   string
}

type Repository

type Repository struct {
	// contains filtered or unexported fields
}

func NewRepository

func NewRepository(config Config) (*Repository, error)

func (*Repository) GetAchFile added in v0.5.0

func (r *Repository) GetAchFile(ctx context.Context, listing FileListing) (*File, error)

func (*Repository) ListAchFiles

func (r *Repository) ListAchFiles(ctx context.Context, params FilterParams) ([]FileListing, error)

Jump to

Keyboard shortcuts

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