open-consul/watch
Frank Schroeder 9f8f258d4d Remove duplicate constants
This patch removes duplicate internal copies of constants in the structs
package which are also defined in the api package. The api.KVOp type
with all its values for the TXN endpoint and the api.HealthXXX constants
are now used throughout the codebase.

This resulted in some circular dependencies in the testutil package
which have been resolved by copying code and constants and moving the
WaitForLeader function into a separate testrpc package.
2017-04-20 09:54:49 -07:00
..
funcs.go Moves stale code to same spot and adds it everywhere that supports it. 2016-08-10 15:49:51 -07:00
funcs_test.go Remove duplicate constants 2017-04-20 09:54:49 -07:00
plan.go api: initial import from armon/consul-api 2015-01-06 10:40:00 -08:00
plan_test.go Makes watcher test more robust. 2017-04-16 22:15:48 -07:00
watch.go api: initial import from armon/consul-api 2015-01-06 10:40:00 -08:00
watch_test.go watch: Remove DSL in place of JSON 2014-08-21 11:38:44 -07:00