worker

package
v0.0.0-...-dc3c4d4 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BillTask

type BillTask struct {
	*model.Bill
	Statements  map[uint32]int64
	TryTimes    uint
	CreatedAt   time.Time
	SubmittedAt time.Time
}

func NewBillTask

func NewBillTask(bill *model.Bill, statements map[uint32]int64) *BillTask

type BlockchainWorker

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

func MustNewBlockchainWorkerFromViper

func MustNewBlockchainWorkerFromViper(
	provider *blockchain.Provider, sqliteStore *sqlite.SqliteStore,
	billSvc *service.BillingService, chainSvc *service.BlockchainService,
) *BlockchainWorker

func (*BlockchainWorker) Run

func (worker *BlockchainWorker) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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