httpserver

package
v0.0.0-...-c936f35 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package httpserver provides a test http server that can serve some canned responses, e.g. modification time header, infinite redirect loop, various http status codes, and templated responses using query params.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *httptest.Server

New creates a new test server with some pre-configured special routes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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