cashier

package
v1.8.9-test-4 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cashier

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

func New

func New(
	wallets core.WalletStore,
	walletz core.WalletService,
	system *core.System,
	cfg Config,
) *Cashier

func (*Cashier) Run

func (w *Cashier) Run(ctx context.Context) error

type Config added in v1.4.0

type Config struct {
	Batch    int   `json:"batch" valid:"required"`
	Capacity int64 `json:"capacity" valid:"required"`
}

Jump to

Keyboard shortcuts

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