CurlPrinter implements Printer. Uses http2curl to dump requests as curl commands that can be inserted into terminal.
| 66 | // Uses http2curl to dump requests as curl commands that can be inserted |
| 67 | // into terminal. |
| 68 | type CurlPrinter struct { |
| 69 | logger Logger |
| 70 | } |
| 71 | |
| 72 | // NewCurlPrinter returns a new CurlPrinter given a logger. |
| 73 | func NewCurlPrinter(logger Logger) CurlPrinter { |
nothing calls this directly
no outgoing calls
no test coverage detected