openinghoursapi

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOpeningHoursEndpoint

func GetOpeningHoursEndpoint(router *app.Router)

func Setup

func Setup(a *app.App, grp *echo.Group)

Types

type GetOpeningHoursRangeResponse

type GetOpeningHoursRangeResponse struct {
	Dates map[string]GetOpeningHoursResponse `json:"dates"`
}

type GetOpeningHoursResponse

type GetOpeningHoursResponse struct {
	Frames    []TimeRange `json:"openingHours"`
	IsHoliday bool        `json:"holiday"`
}

type TimeRange

type TimeRange struct {
	daytime.TimeRange
}

Jump to

Keyboard shortcuts

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