http

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package http contains helpers related to HTTP protocol

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostJSONRequest

func PostJSONRequest(url string, payload interface{})

PostJSONRequest send an arbitrary JSON payload to an endpoint.

func PostJSONRequestWithRetries

func PostJSONRequestWithRetries(interval, timeout time.Duration, url string, payload interface{})

PostJSONRequestWithRetries send an arbitrary JSON payload to an endpoint.

Types

This section is empty.

Jump to

Keyboard shortcuts

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