watcher

package module
v0.0.0-...-de63004 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2015 License: MIT Imports: 5 Imported by: 2

README

go-watcher Circle CI

Watch files in Go.

Installation

go get gopkg.in/minodisk/go-watcher.v1

Usage

Watch files
import (
  "gopkg.in/minodisk/go-watcher.v1"
)

func main() {
}

Reference

http://godoc.org/gopkg.in/minodisk/go-watcher.v1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	Events chan fsnotify.Event
	Errors chan error
	// contains filtered or unexported fields
}

func New

func New() *Watcher

func (*Watcher) Close

func (w *Watcher) Close() error

func (*Watcher) Watch

func (w *Watcher) Watch(pathes []string) (err error)

Jump to

Keyboard shortcuts

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