watchgo

package
v0.0.0-...-ade9fc0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Feed

func Feed(name string)

func Register

func Register(name string, timeoutSec int, f func(item *TItem))

Types

type TItem

type TItem struct {
	Name        string
	TimeoutSec  int
	ExpiredTime int64
	// contains filtered or unexported fields
}

func NewItem

func NewItem(name string, timeoutSec int, f func(item *TItem)) *TItem

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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