timer

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watch

type Watch struct {
	// contains filtered or unexported fields
}

only support Create,Remove,Write

func New

func New(interval time.Duration) (*Watch, error)

func (*Watch) Add

func (w *Watch) Add(path string, op watch.Op, callback func(string)) error

func (*Watch) Close

func (w *Watch) Close() error

Jump to

Keyboard shortcuts

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