fswatcher

package
v0.0.0-...-84d5ceb Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: BSD-3-Clause, GPL-2.0, MIT, + 1 more Imports: 5 Imported by: 0

Documentation

Overview

Copyright (c) 2018-2019, AT&T Intellectual Property. All rights reserved. SPDX-License-Identifier: MPL-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

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

func Start

func Start(opts ...WatcherOpt) *Watcher

func (*Watcher) Stop

func (w *Watcher) Stop()

type WatcherOpt

type WatcherOpt func(w *Watcher)

func Handler

func Handler(filename string, handler interface{}) WatcherOpt

func LogPrefix

func LogPrefix(pfx string) WatcherOpt

func Logger

func Logger(logger *log.Logger) WatcherOpt

Jump to

Keyboard shortcuts

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