http

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const AWSServiceURLTemplate = "https://%s.%s.amazonaws.com"

Variables

This section is empty.

Functions

func NewDefaultHttpClient

func NewDefaultHttpClient() *http.Client

func NewHttpClient

func NewHttpClient(httpSettings ClientSettings) (*http.Client, error)

Types

type ClientSettings

type ClientSettings struct {
	Connect          time.Duration
	ConnKeepAlive    time.Duration
	ExpectContinue   time.Duration
	IdleConn         time.Duration
	MaxAllIdleConns  int
	MaxHostIdleConns int
	ResponseHeader   time.Duration
	TLSHandshake     time.Duration
}

type SslContextWarmer

type SslContextWarmer interface {
	WarmUp(region string, services []string)
}

func NewSslContextWarmer

func NewSslContextWarmer(httpClient *http.Client) SslContextWarmer

Jump to

Keyboard shortcuts

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