request

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 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) (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{}) (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