etcdserver: cleanup

This commit is contained in:
Blake Mizerany 2014-08-30 14:19:03 -07:00 committed by Yicheng Qin
parent 68968c2cb0
commit 2d9553cb18

View File

@ -2,7 +2,6 @@ package etcdserver
import (
"errors"
"sync"
"time"
"code.google.com/p/go.net/context"
@ -27,14 +26,13 @@ type Response struct {
// The last seen index raft was at when this request was built.
Commit int64
*store.Event
*store.Watcher
Event *store.Event
Watcher *store.Watcher
err error
}
type Server struct {
once sync.Once
w *wait.List
done chan struct{}