package
Version:
v0.0.0-...-290f48c
Opens a new window with list of versions in this module.
Published: Apr 5, 2019
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Home(c echo.Context) error
func Search(c echo.Context) error
func SearchAPI(c echo.Context) error
func SearchBoxConfigAPI(c echo.Context) error
type SearchRequest struct {
Query string `json:"query"`
}
SearchRequest is the json request to the api/search endpoint.
type SearchResults struct {
Count int `json:"count"`
Shows []ShowInfo `json:"shows"`
QueryTime time.Duration `json:"-"`
}
SearchResults is the json payload for a search query.
type ShowInfo struct {
Date string `json:"date"`
Url string `json:"url"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.