package webtest

import "cmd/go/internal/webtest"

Index

Functions

func Do

func Do(req *http.Request) (*http.Response, error)

func DoPrint

func DoPrint(req *http.Request) (*http.Response, error)

func Hook

func Hook()

func LoadOnce

func LoadOnce(file string)

func Print

func Print()

func Serve

func Serve(url string, status string, hdr http.Header, body []byte)

func Unhook

func Unhook()

Source Files

test.go

Version
v1.11.10
Published
May 6, 2019
Platform
linux/amd64
Imports
16 packages
Last checked
4 seconds ago

Tools for package owners.