service

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

package service provides a http handler that reads the path in the request.url and returns an xml document that follows the OPDS 1.1 standard https://specs.opds.io/opds-1.1.html

Index

Constants

This section is empty.

Variables

View Source
var TimeNowFunc = timeNow

Functions

This section is empty.

Types

type OPDS

type OPDS struct {
	DirRoot     string
	Author      string
	AuthorEmail string
	AuthorURI   string
}

func (OPDS) Handler

func (s OPDS) Handler(w http.ResponseWriter, req *http.Request) error

Jump to

Keyboard shortcuts

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