handlers

package
v0.0.0-...-915ce92 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultApodCount = 8
)

Variables

This section is empty.

Functions

func ApodHandler

func ApodHandler(w http.ResponseWriter, r *http.Request)

func ApodsHandler

func ApodsHandler(w http.ResponseWriter, r *http.Request)

Types

type Apod

type Apod struct {
	CopyRight      string `json:"copyright"`
	Date           string `json:"date"`
	Explanation    string `json:"explanation"`
	Hdurl          string `json:"hdurl"`
	MediaType      string `json:"media_type"`
	ServiceVersion string `json:"service_version"`
	Title          string `json:"title"`
	Url            string `json:"url"`
}

Jump to

Keyboard shortcuts

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