http

package
v1.10.20-beta1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

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

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