open-consul/lib
Sean Chittenden a4dc389e38 Add a helper function DurationMinusBuffer() to calculate an interval
used to schedule a TTL check.  e.g.

d := lib.DurationMinusBuffer(60 * time.Duration, 10 * time.Second, 16)

will return a duration between 46.875s and 50s.
2016-04-23 09:06:54 -07:00
..
cluster.go Add a helper function DurationMinusBuffer() to calculate an interval 2016-04-23 09:06:54 -07:00
cluster_test.go Add a helper function DurationMinusBuffer() to calculate an interval 2016-04-23 09:06:54 -07:00
math.go Add lib.AbsInt() helper function 2016-03-30 11:47:37 -07:00
math_test.go Add lib.AbsInt() helper function 2016-03-30 11:47:37 -07:00
rand.go
string.go Cull unused function and its unit test. 2016-02-01 22:40:19 -08:00
string_test.go