package webtest
import "cmd/go/internal/webtest"
Index ¶
- func Do(req *http.Request) (*http.Response, error)
- func DoPrint(req *http.Request) (*http.Response, error)
- func Hook()
- func LoadOnce(file string)
- func Print()
- func Serve(url string, status string, hdr http.Header, body []byte)
- func Unhook()
Functions ¶
func Do ¶
func DoPrint ¶
func Hook ¶
func Hook()
func LoadOnce ¶
func LoadOnce(file string)
func Print ¶
func Print()
func Serve ¶
func Unhook ¶
func Unhook()
Source Files ¶
- Version
- v1.11.3
- Published
- Dec 13, 2018
- Platform
- darwin/amd64
- Imports
- 16 packages
- Last checked
- 2 seconds ago –
Tools for package owners.