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.0-rc.1
Published
Aug 13, 2018
Platform
js/wasm
Imports
16 packages
Last checked
2 seconds ago

Tools for package owners.