request

package
v0.0.0-...-7b723a0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingCredentials = errors.New("no credentials provided")
)

Functions

func AWSRequest

func AWSRequest(ctx context.Context, options Options) (*http.Response, error)

AWSRequest sends a request to AWS API Gateway and returns the response.

Types

type Options

type Options struct {
	Method  string
	Path    string
	Query   url.Values
	Payload []byte
}

Jump to

Keyboard shortcuts

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