Versions in this module Expand all Collapse all v2 v2.30.1 Jul 6, 2021 Changes in this version + const NilCloser + func DirHash(t *testing.T, path string) []byte + func NewLogger(t *testing.T) log.Logger + func NewRoundTripCheckRequest(checkRequest func(*http.Request), theResponse *http.Response, theError error) http.RoundTripper + func TolerantVerifyLeak(m *testing.M) + type Closer interface + Close func() + func NewCallbackCloser(fn func()) Closer + type MockContext struct + DoneCh chan struct{} + Error error + func (c *MockContext) Deadline() (deadline time.Time, ok bool) + func (c *MockContext) Done() <-chan struct{} + func (c *MockContext) Err() error + func (c *MockContext) Value(key interface{}) interface{} + type T interface + Fatal func(args ...interface{}) + Fatalf func(format string, args ...interface{}) + type TemporaryDirectory interface + Path func() string + func NewTemporaryDirectory(name string, t T) (handler TemporaryDirectory) Other modules containing this package github.com/wangjc0216/prometheus