rescan

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTables

func CreateTables(ctx context.Context, pgDB *bun.DB) error

Types

type Repository

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

func NewRepository

func NewRepository(db *bun.DB) *Repository

func (*Repository) AddRescanTask

func (r *Repository) AddRescanTask(ctx context.Context, task *core.RescanTask) error

func (*Repository) GetUnfinishedRescanTask

func (r *Repository) GetUnfinishedRescanTask(ctx context.Context) (bun.Tx, *core.RescanTask, error)

func (*Repository) SetRescanTask

func (r *Repository) SetRescanTask(ctx context.Context, tx bun.Tx, task *core.RescanTask) error

Jump to

Keyboard shortcuts

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