fileWatcher

package
v0.0.0-...-e50112c Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

文件监控器,用来实现 “监控某个文件的变化,如果文件被修改则触发回调通知”

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAndWatch

func LoadAndWatch(path string, d time.Duration, onChange func(data []byte, err error)) (*timeUtil.Ticker, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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