samehosttest

package
v0.29.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package samehosttest stands up a server that redirects to another host, for proving a client's redirect policy is wired in.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CrossHost

func CrossHost(t *testing.T) (string, func() int64)

CrossHost returns the URL of a server that redirects every request to another host, and a count of the requests that arrived there.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL