clientutils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient(legacy bool) *http.Client

GetClient returns a http.Client with ciphers configured according to Mozilla recommendations (https://ssl-config.mozilla.org/#server=go&version=1.14.4&config=modern&guideline=5.6). Set `legacy` to true to enable TLSv1.2

Types

This section is empty.

Jump to

Keyboard shortcuts

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