httphandler

package
v0.0.0-...-dc4a31d Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateShowTime

func CreateShowTime(s storage.Storage) http.HandlerFunc

func DeleteShowTime

func DeleteShowTime(s storage.Storage) http.HandlerFunc

func GetLiveness

func GetLiveness() http.HandlerFunc

func GetReadiness

func GetReadiness(s storage.Storage) http.HandlerFunc

func GetShowTimeByDate

func GetShowTimeByDate(s storage.Storage) http.HandlerFunc

func GetShowTimes

func GetShowTimes(s storage.Storage) http.HandlerFunc

Types

type ShowTimeResource

type ShowTimeResource struct {
	Data model.ShowTime `json:"data"`
}

For Post/Put - /showtimes

type ShowTimesResource

type ShowTimesResource struct {
	Data []model.ShowTime `json:"data"`
}

For Get - /showtimes

Jump to

Keyboard shortcuts

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