http

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetURLResponse

func GetURLResponse(url string, trim bool) (string, error)

GetURLResponse returns the HTTP response for the provided URL if the request succeeds

func GetURLResponseWithTimeOut added in v0.6.0

func GetURLResponseWithTimeOut(url string, timeout time.Duration) ([]byte, error)

GetURLResponseWithTimeOut returns the HTTP response for the provided URL if the request succeeds using a timeout

Types

This section is empty.

Jump to

Keyboard shortcuts

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