Consul api in go to simplify common workflows.