package transport

import "github.com/google/pprof/internal/transport"

Package transport provides a mechanism to send requests with https cert, key, and CA.

Index

Functions

func New

func New(flagset plugin.FlagSet) http.RoundTripper

New returns a round tripper for making requests with the specified cert, key, and ca. The flags tls_cert, tls_key, and tls_ca are added to the flagset to allow a user to specify the cert, key, and ca. If the flagset is nil, no flags will be added, and users will not be able to use these flags.

Source Files

transport.go

Version
v0.0.0-20250602020802-c6617b811d0e (latest)
Published
Jun 2, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
41 minutes ago

Tools for package owners.