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