internal

package
v0.0.0-...-1f9524f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoRequest

func DoRequest(ctx context.Context, client *http.Client, url string, method string)

func GenerateTlsConfig

func GenerateTlsConfig() *tls.Config

func GetHttpReqCounter

func GetHttpReqCounter(httpResponseClass int, url string) float64

func IncrementHttpReqCounter

func IncrementHttpReqCounter(httpResponseClass int, url string)

func NewHTTPClient

func NewHTTPClient() *http.Client

func StartWorker

func StartWorker(ctx context.Context, rate float64, url string) map[int]int

Types

This section is empty.

Jump to

Keyboard shortcuts

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