Versions in this module Expand all Collapse all v0 v0.1.0 Jul 23, 2026 Changes in this version + var ErrMissingHost = errors.New("runner: origin-form request has no Host header") + var ErrUnexpectedStatusCode = errors.New("runner: response status code not in @expect-status-code list") + type Option func(*Runner) + func WithCurlExec(f curlExecFunc) Option + func WithHTTPClient(c *http.Client) Option + type Response struct + Body []byte + Duration time.Duration + Header http.Header + Proto string + Status string + StatusCode int + type Runner struct + func New(opts ...Option) (*Runner, error) + func (r *Runner) Send(ctx context.Context, baseDir string, file *httpfile.File, ...) (*Response, error)