transport

package
v0.0.0-...-26353dc Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL