Versions in this module Expand all Collapse all v0 v0.0.2 Mar 26, 2024 Changes in this version + var ErrTestErrorAccumulatorWriteFailed = errors.New("test error accumulator failed") + func CreateTestDirectory(t *testing.T) (path string, cleanup func()) + func CreateTestFile(t *testing.T, path string) + func GetTestToken() string + type FailingErrorBuffer struct + func (b *FailingErrorBuffer) Bytes() []byte + func (b *FailingErrorBuffer) Len() int + func (b *FailingErrorBuffer) Write(_ []byte) (n int, err error) + type ServerTest struct + func NewTestServer() *ServerTest + func (ts *ServerTest) RegisterHandler(path string, handler handler) + type TokenRoundTripper struct + Fallback http.RoundTripper + Token string + func (t *TokenRoundTripper) RoundTrip(req *http.Request) (*http.Response, error)