v0.2.1: Candidate Improvements
Created 2 new sub-packages
Session
The new session
package provides a way to manage the creation and maintenance of a persistent session in Consul. It is primarily designed to be used with the candidate
package, but can be used on its own.
Candidate
The new candidate
package provides the same functionality as the old package, but adds better resiliency in the event that a session is yanked out from under it in Consul, and is re-usable. You may call .Resign()
and then .Run()
successively if your app's workflow necessitates that.
This release has no breaking changes.