watcher

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package watcher monitors a data folder and performs automatic reloading of data including updating the datasource cache in memory for deleted and edited data files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Monitor

func Monitor(datasources map[string]internal.Datasource, logger *koan.Logger, mtx *sync.Mutex) error

Monitor creates a file watcher for the data directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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