Documentation ¶
Index ¶
- func CreateArchiveApiHandler(w http.ResponseWriter, r *http.Request)
- func CreateArchiveHandler(w http.ResponseWriter, r *http.Request)
- func CreateRoutes() *mux.Router
- func NotFoundPage(w http.ResponseWriter, r *http.Request)
- func RespondError(w http.ResponseWriter, r *http.Request, err error)
- func RespondJson(w http.ResponseWriter, data interface{})
- func RespondSuccessJson(w http.ResponseWriter, data interface{})
- func RespondSuccessTemplate(w http.ResponseWriter, r *http.Request, page string, data interface{})
- func SearchArchives(w http.ResponseWriter, r *http.Request)
- func SearchArchivesJson(w http.ResponseWriter, r *http.Request)
- func ShowArchiveApiHandler(w http.ResponseWriter, r *http.Request)
- func ShowArchiveHandler(w http.ResponseWriter, r *http.Request)
- func ShowArchiveScreenshotHandler(w http.ResponseWriter, r *http.Request)
- func ShowArchiveSnapshotHandler(w http.ResponseWriter, r *http.Request)
- type ShowArchiveTemplateVariables
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateArchiveApiHandler ¶
func CreateArchiveApiHandler(w http.ResponseWriter, r *http.Request)
func CreateArchiveHandler ¶
func CreateArchiveHandler(w http.ResponseWriter, r *http.Request)
func CreateRoutes ¶
func NotFoundPage ¶
func NotFoundPage(w http.ResponseWriter, r *http.Request)
func RespondError ¶
func RespondError(w http.ResponseWriter, r *http.Request, err error)
func RespondJson ¶
func RespondJson(w http.ResponseWriter, data interface{})
func RespondSuccessJson ¶
func RespondSuccessJson(w http.ResponseWriter, data interface{})
func RespondSuccessTemplate ¶
func RespondSuccessTemplate(w http.ResponseWriter, r *http.Request, page string, data interface{})
func SearchArchives ¶
func SearchArchives(w http.ResponseWriter, r *http.Request)
func SearchArchivesJson ¶
func SearchArchivesJson(w http.ResponseWriter, r *http.Request)
func ShowArchiveApiHandler ¶
func ShowArchiveApiHandler(w http.ResponseWriter, r *http.Request)
func ShowArchiveHandler ¶
func ShowArchiveHandler(w http.ResponseWriter, r *http.Request)
func ShowArchiveScreenshotHandler ¶
func ShowArchiveScreenshotHandler(w http.ResponseWriter, r *http.Request)
This is for the screenshot
func ShowArchiveSnapshotHandler ¶
func ShowArchiveSnapshotHandler(w http.ResponseWriter, r *http.Request)
This is for the snapshot, which is the inlined HTML of the archive
Types ¶
Click to show internal directories.
Click to hide internal directories.