settings

package
v0.0.0-...-ccdc81b Latest Latest
Warning

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

Go to latest
Published: May 16, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApodEndpoint         = "https://api.nasa.gov/planetary/apod"
	ApodTimeoutInSeconds = 20
)
View Source
const (
	ContentTypeHeader = "Content-Type"
	JsonMime          = "application/json"
)

Variables

View Source
var (
	AppPort               = getDotEnv("PORT", "8080")
	ConcurrentRequests, _ = strconv.Atoi(getDotEnv("CONCURRENT_REQUESTS", "5"))
)
View Source
var (
	NasaApiKey = getDotEnv("API_KEY", "DEMO_KEY")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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