tempconsul makes it easy to start and stop temporary, non-persisting consul agent server processes. This is useful for things like development and integration tests.
tempconsul requires Consul >= 0.6.1.
See tempconsul_test.go
for an usage example.