util

package
v0.0.0-...-f52cd09 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddWatcher

func AddWatcher(conf config.Config) error

AddWatcher adds source directory specified in config that will be watched for any file creation events.

func CleanUp

func CleanUp(cleanupDuration int, path string)

CleanUp removes old response files from path periodically specified by cleanupDuration.

func RemoveFiles

func RemoveFiles(cleanupDuration int, path string)

RemoveFiles removes old files from directory.

func WatchEvents

func WatchEvents(conf config.Config)

WatchEvents watches file creation events and formats PM/FM data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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