request

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JSON_CONTENT_TYPE string = "application/json"
)

Variables

This section is empty.

Functions

func Get

func Get(url url.URL) (body []byte, err error)

func PostEnvelopes

func PostEnvelopes(url url.URL, envelopes []envelope.Envelope, header http.Header) (resp *http.Response, err error)

func PostEvent

func PostEvent(url url.URL, payload envelope.SelfDescribingEvent) (resp *http.Response, err error)

func PostPayload

func PostPayload(url url.URL, payload interface{}, header http.Header) (resp *http.Response, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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