mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: cleanup
This commit is contained in:
parent
68968c2cb0
commit
2d9553cb18
@ -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{}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user