stock

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ZipEntryInfo

func ZipEntryInfo(e *zip.File) string

===============================

Types

type Handler

type Handler struct {
	CFG *config.Config
	DB  *database.DB
	GT  *genres.GenresTree
	LOG *rlog.Log
	SY  Sync
}

func (*Handler) Reindex

func (h *Handler) Reindex()

Reindex() - recreate book stock database

func (*Handler) ScanDir

func (h *Handler) ScanDir(reindex bool) error

Scan

type Sync

type Sync struct {
	WG    *sync.WaitGroup
	Quota chan struct{}
}

Jump to

Keyboard shortcuts

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