|
|
@@ -28,7 +28,6 @@ import (
|
|
|
|
|
|
"github.com/coreos/etcd/Godeps/_workspace/src/github.com/coreos/go-semver/semver"
|
|
|
"github.com/coreos/etcd/Godeps/_workspace/src/github.com/coreos/pkg/capnslog"
|
|
|
- "github.com/coreos/etcd/Godeps/_workspace/src/github.com/gogo/protobuf/proto"
|
|
|
"github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context"
|
|
|
"github.com/coreos/etcd/discovery"
|
|
|
"github.com/coreos/etcd/etcdserver/etcdhttp/httptypes"
|
|
|
@@ -109,7 +108,6 @@ type Server interface {
|
|
|
Leader() types.ID
|
|
|
// Do takes a request and attempts to fulfill it, returning a Response.
|
|
|
Do(ctx context.Context, r pb.Request) (Response, error)
|
|
|
- V3DemoDo(ctx context.Context, r pb.InternalRaftRequest) proto.Message
|
|
|
// Process takes a raft message and applies it to the server's raft state
|
|
|
// machine, respecting any timeout of the given context.
|
|
|
Process(ctx context.Context, m raftpb.Message) error
|