2018-10-04 15:57:39 +00:00
|
|
|
// Copyright (c) 2014-2018 The Notify Authors. All rights reserved.
|
2016-06-15 13:54:07 +00:00
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
package notify
|
|
|
|
|
2018-10-04 15:57:39 +00:00
|
|
|
type watcherStub struct{ error }
|
2016-06-15 13:54:07 +00:00
|
|
|
|
|
|
|
// Following methods implement notify.watcher interface.
|
2018-10-04 15:57:39 +00:00
|
|
|
func (s watcherStub) Watch(string, Event) error { return s }
|
|
|
|
func (s watcherStub) Rewatch(string, Event, Event) error { return s }
|
|
|
|
func (s watcherStub) Unwatch(string) (err error) { return s }
|
|
|
|
func (s watcherStub) Close() error { return s }
|