loaders

package
v0.1.36 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Receipt(ctx context.Context, in *lkdr.ReceiptIn) (*lkdr.ReceiptOut, error)
	FiscalData(ctx context.Context, in *lkdr.FiscalDataIn) (*lkdr.FiscalDataOut, error)
}

type FiscalData

type FiscalData struct {
	Phone     string
	BatchSize int
}

func (FiscalData) Load

func (l FiscalData) Load(ctx jobs.Context, client Client, db database.DB) (_ []Interface, errs error)

func (FiscalData) TableName

func (l FiscalData) TableName() string

type Interface

type Interface interface {
	schema.Tabler
	Load(ctx jobs.Context, client Client, db database.DB) ([]Interface, error)
}

type Receipts

type Receipts struct {
	Phone     string
	BatchSize int
}

func (Receipts) Load

func (l Receipts) Load(ctx jobs.Context, client Client, db database.DB) (_ []Interface, errs error)

func (Receipts) TableName

func (l Receipts) TableName() string

Jump to

Keyboard shortcuts

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