http

package
v1.6.25-test Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 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