package
0.12.0
Repository: https://github.com/opensds/multi-cloud.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Endpoint returns a fake endpoint that will actually target the Mux.
SetupHTTP prepares the Mux and Server.
TeardownHTTP releases HTTP-related resources.
TestBody verifies that the request body matches an expected body.
TestHeader checks that the header on the http.Request matches the expected value.
TestMethod checks that the Request has the expected method (e.g.

# Variables

Mux is a multiplexer that can be used to register handlers.
Server is an in-memory HTTP server for testing.