reqstats

package
v3.1.12+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package reqstats adds logging and statistics to integration requests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientManager

type ClientManager struct {
	Clients Clients
	// contains filtered or unexported fields
}

func New

func New(opts Opts) *ClientManager

func (ClientManager) PrintStats

func (s ClientManager) PrintStats() string

type Clients

type Clients struct {
	Default     *http.Client
	TLSInsecure *http.Client
}

type Opts

type Opts struct {
	Logger hclog.Logger
	// TLSInsecureSkipVerify to disable tls cert checks when integration uses TLSInsecure() client
	TLSInsecureSkipVerify bool
}

Jump to

Keyboard shortcuts

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