store: convert Watch to interface

This commit is contained in:
Jonathan Boulle
2014-09-08 16:56:10 -07:00
parent 7c8b1a553f
commit f7444ff300
8 changed files with 68 additions and 59 deletions

View File

@ -21,7 +21,7 @@ type SendFunc func(m []raftpb.Message)
type Response struct {
Event *store.Event
Watcher *store.Watcher
Watcher store.Watcher
err error
}