heavy

package
v0.0.0-...-ea8ee0a Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Unlicense Imports: 5 Imported by: 0

Documentation

Overview

Package heavy provides a means to carry out time-consuming, error-prone jobs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lifter

type Lifter struct {
	MaxDelay          time.Duration
	FailurePercentage int
}

Lifter contains all it needs to carry out the job.

func (Lifter) Lift

func (l Lifter) Lift(ctx context.Context, userID string, year, month int) (string, error)

Lift carries out the job.

Jump to

Keyboard shortcuts

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