# Packages
Package json implements a simple encoder and decoder for streams of watch events over io.Writer/Readers.
# Functions
Filter passes all events through f before allowing them to pass on.
No description provided by the author
NewMux creates a new Mux.
NewStreamWatcher creates a StreamWatcher from the given decoder.
# Structs
Event represents a single event to a watched resource.
FakeWatcher lets you test anything that consumes a watch.Interface; threadsafe.
Mux distributes event notifications among any number of watchers.
StreamWatcher turns any stream for which you can write a Decoder interface into a watch.Interface.
# Type aliases
EventType defines the possible types of events.
FilterFunc should take an event, possibly modify it in some way, and return the modified event.