nasaapi

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAPIKey = "DEMO_KEY" // Default NASA API key (for demo)
)

Variables

View Source
var (
	ErrNullPointer = errors.New("null reference instance")
	ErrCombination = errors.New("invalid parameter combination passed")
)

Functions

func Fetch

func Fetch(ctx context.Context, path string, q url.Values) (io.ReadCloser, error)

Request function requests to NASA API, and returns response data.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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