Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Directives to be used for e2e testing Directives = `` /* 1105-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// NulledBody indicates whether interruptions at response body phase are allowed to return 200 (Instead of 403), but with a body full of null bytes.
NulledBody bool
// ProxiedEntrypoint is the proxy endpoint used to perform requests.
ProxiedEntrypoint string
// HttpbinEntrypoint is the upstream httpbin endpoint, used for health checking reasons.
HttpbinEntrypoint string
}
Config holds the configuration for running the end-to-end tests.
type StreamCheck ¶ added in v3.4.0
StreamCheck is a callback used for validating responses that should be read incrementally (e.g., streaming/SSE). The callback should read from resp.Body as needed and return an error on validation failure.
Click to show internal directories.
Click to hide internal directories.