Imports github.com/armon/go-metrics github.com/stretchr/testify/require github.com/stretchr/testify/mock github.com/mitchellh/go-testing-interface github.com/hashicorp/consul/lib Standard library imports context fmt reflect sync sync/atomic time container/heap