MCPcopy Index your code
hub / github.com/gavv/httpexpect / CurlPrinter

Struct CurlPrinter

printer.go:68–70  ·  view source on GitHub ↗

CurlPrinter implements Printer. Uses http2curl to dump requests as curl commands that can be inserted into terminal.

Source from the content-addressed store, hash-verified

66// Uses http2curl to dump requests as curl commands that can be inserted
67// into terminal.
68type CurlPrinter struct {
69 logger Logger
70}
71
72// NewCurlPrinter returns a new CurlPrinter given a logger.
73func NewCurlPrinter(logger Logger) CurlPrinter {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected