request

package
v0.11.9 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: AGPL-3.0 Imports: 8 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 added in v0.1.27

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

func PostEvent added in v0.1.24

func PostEvent(url url.URL, payload event.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