http

package
Version: v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogTransport

func LogTransport(t http.RoundTripper) http.RoundTripper

LogTransport logs http request and response at glog level 8. At level 10, response body will be also logged. At lower log level, this is zero cost. So, it is safe to always wrap http.DefaultTransport with LogTransport.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL