format

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package format formats the requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpectedRequest

func ExpectedRequest(w io.Writer, method string, uri matcher.Matcher, header matcher.HeaderMatcher, body *matcher.BodyMatcher)

ExpectedRequest formats an expected request.

func ExpectedRequestTimes

func ExpectedRequestTimes(w io.Writer, method string, uri matcher.Matcher, header matcher.HeaderMatcher, body *matcher.BodyMatcher, totalCalls, remainingCalls int)

ExpectedRequestTimes formats an expected request with total and remaining calls.

func HTTPRequest

func HTTPRequest(w io.Writer, method, uri string, header http.Header, body []byte)

HTTPRequest formats a request.

Types

This section is empty.

Jump to

Keyboard shortcuts

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