tusd/vendor
Anders Chen 9af87d50ce Add etcd3 locker (#202)
* First pass at etcd3 locker

* Add etcd packages to vendor ignore attribute

* Properly exclude etcd3locker from earlier versions of golang

* Etcd test to only run on go1.9 and go1.10

* Do not export internal etcd3locker methods

* context.TODO -> context.Background

* Return errors instead of logging

* Enforce a 1.5s timeout on acquiring a lease from etcd

* Allow etcd3 concurreny.NewSession manage KeepAlive connection

- Introduce LockerOptions to allow a custom session TTL (default: 60s); etcd3Locker can be initialized with NewWithLockerOptions if one wants granular control over TTL and prefix used for etcd3 keys
- Keep NewWithPrefix backwards compatible by calling NewWithLockerOptions

* Add comment on locker_test.go regarding testing the session KeepAlive

* Re-export main type

* Try to address missing github.com/gogo/protobuf/gogoproto package

* Update etcd package import to use go.etcd.io/etcd/clientv3

* Use forked go-etcd-harness for testing

* Add more extensive package overview / docs

* go fmt

* Fix test script

* Add downloaded etcd binary to path
2018-11-10 20:05:44 +00:00
..
cloud.google.com/go Update dependencies 2017-11-20 22:35:32 +01:00
github.com Update dependencies 2017-11-20 22:35:32 +01:00
go4.org Update dependencies 2017-11-20 22:35:32 +01:00
golang.org/x Update dependencies 2017-11-20 22:35:32 +01:00
google.golang.org Update dependencies 2017-11-20 22:35:32 +01:00
gopkg.in Add support for Google Cloud storage as a DataStore (#106) 2017-09-16 20:49:09 +02:00
manifest Add support for Google Cloud storage as a DataStore (#106) 2017-09-16 20:49:09 +02:00
vendor.json Add etcd3 locker (#202) 2018-11-10 20:05:44 +00:00