stock

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: MIT Imports: 17 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) InitStockFolders

func (h *Handler) InitStockFolders()

InitStockFolders()

func (*Handler) Reindex

func (h *Handler) Reindex()

Reindex() - recreate book stock database

func (*Handler) ScanDir

func (h *Handler) ScanDir(dir string) error

Scan

type Sync

type Sync struct {
	WG         *sync.WaitGroup
	MaxThreads chan struct{}
	Stop       chan struct{}
}

Jump to

Keyboard shortcuts

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