http

package
v1.11.30 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NetDialTimeout      = 30 * time.Second
	TLSHandshakeTimeout = 30 * time.Second
	ClientTimeout       = 5 * time.Minute
)

Variables

This section is empty.

Functions

func NewClient

func NewClient() *http.Client

func NewSSEClient added in v1.5.31

func NewSSEClient() *http.Client

NewSSEClient is HTTP client with long timeout to be able to read SSE endpoints

Types

This section is empty.

Jump to

Keyboard shortcuts

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