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
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
Click to show internal directories.
Click to hide internal directories.