format

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: MIT Imports: 9 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, svc service.Method, header xmatcher.HeaderMatcher, payload matcher.Matcher)

ExpectedRequest formats an expected request.

func ExpectedRequestTimes

func ExpectedRequestTimes(w io.Writer, svc service.Method, header xmatcher.HeaderMatcher, payload matcher.Matcher, totalCalls, remainingCalls int)

ExpectedRequestTimes formats an expected request with total and remaining calls.

func Request

func Request(w io.Writer, svc service.Method, header map[string]string, payload interface{})

Request 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