(printer trace.Printer)
| 29 | } |
| 30 | |
| 31 | func NewRequestDumper(printer trace.Printer) RequestDumper { |
| 32 | return RequestDumper{printer: printer} |
| 33 | } |
| 34 | |
| 35 | func (p RequestDumper) DumpRequest(req *http.Request) { |
| 36 | p.printer.Printf("\n%s [%s]\n", terminal.HeaderColor(T("REQUEST:")), time.Now().Format(time.RFC3339)) |
no outgoing calls