mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

for i in github.com/BurntSushi/toml github.com/coreos/go-etcd/etcd github.com/coreos/go-log/log github.com/gorilla/context github.com/rcrowley/go-metrics bitbucket.org/kardianos/osext github.com/coreos/go-systemd/journal github.com/coreos/raft code.google.com/p/goprotobuf/proto ; do goven -copy -rewrite $i; done
16 lines
353 B
Go
16 lines
353 B
Go
package v1
|
|
|
|
import (
|
|
"github.com/coreos/etcd/store"
|
|
"github.com/coreos/etcd/third_party/github.com/coreos/raft"
|
|
"net/http"
|
|
)
|
|
|
|
// The Server interface provides all the methods required for the v1 API.
|
|
type Server interface {
|
|
CommitIndex() uint64
|
|
Term() uint64
|
|
Store() store.Store
|
|
Dispatch(raft.Command, http.ResponseWriter, *http.Request) error
|
|
}
|