report

package
v0.0.0-...-29d4719 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetPriceByTimeFn

type GetPriceByTimeFn func(ctx context.Context, coingeckoID string, day time.Time) (decimal.Decimal, error)

type TransferReportJob

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

func NewTransferReportJob

func NewTransferReportJob(database *mongo.Database, pageSize int64, getPriceByTime GetPriceByTimeFn, outputPath string, tokenProvider *domain.TokenProvider, logger *zap.Logger) *TransferReportJob

NewTransferReportJob creates a new transfer report job.

func (*TransferReportJob) Run

func (j *TransferReportJob) Run(ctx context.Context) error

Run runs the transfer report job.

Jump to

Keyboard shortcuts

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