http

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient(insecure bool, customCerts []byte) (*http.Client, error)

func GetClientWithCustomCerts

func GetClientWithCustomCerts(certs []byte) (*http.Client, error)

func GetDefaultClient

func GetDefaultClient() (*http.Client, error)

GetDefaultClient returns a client that does ssl verification based on the system certificates

func GetInsecureClient

func GetInsecureClient() (*http.Client, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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