Skip to content

Instantly share code, notes, and snippets.

@willnewrelic
willnewrelic / main.go
Last active April 13, 2019 19:54
Example of custom Go Agent Config.Transport to record agent network traffic
package main
import (
"fmt"
"io"
"net/http"
"os"
"sync"
"time"