tools

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const SCAN_INTERVAL = time.Hour * 24

Variables

This section is empty.

Functions

func GenerateFileName

func GenerateFileName(db *sqlx.DB, file []byte, originalFileName string) (string, error)

func StartScanner

func StartScanner(directory, maxAge string) error

StartScanner starts a scanner which scans a directory and deletes files that are older than maxAge

Types

This section is empty.

Jump to

Keyboard shortcuts

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