mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
api: Make api/ a module that will contain proto-definitions.
The module is supposed to contain minimal set of files that establish public etcd server API. In particular client libraries for etcd built in different languages might want to depend on this file.
This commit is contained in:
16
api/go.mod
Normal file
16
api/go.mod
Normal file
@@ -0,0 +1,16 @@
|
||||
module go.etcd.io/etcd/api/v3
|
||||
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/coreos/go-semver v0.2.0
|
||||
github.com/gogo/protobuf v1.2.1
|
||||
github.com/golang/protobuf v1.3.2
|
||||
github.com/grpc-ecosystem/grpc-gateway v1.9.5
|
||||
golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7
|
||||
google.golang.org/grpc v1.26.0
|
||||
)
|
||||
|
||||
// Bad imports are sometimes causing attempts to pull that code.
|
||||
// This makes the error more explicit.
|
||||
replace go.etcd.io/etcd => ./FORBIDDEN_DEPENDENCY
|
||||
Reference in New Issue
Block a user