testutil

package
v0.0.0-...-b0bbb88 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OverrideBaseURL

func OverrideBaseURL(t *testing.T, originalURL, baseURL string) string

func ServerMock

func ServerMock(pattern string, h http.HandlerFunc) (baseURL string, mux *http.ServeMux, httpClient *http.Client, teardownFn func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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