Documentation ¶
Index ¶
Constants ¶
View Source
const PageSize = 10
Variables ¶
View Source
var BuildDate = time.Now()
Functions ¶
Types ¶
type DownloadHandler ¶
type DownloadHandler struct {
// contains filtered or unexported fields
}
func NewDownloadHandler ¶
func NewDownloadHandler(cfg *config.MyConfig) *DownloadHandler
func (*DownloadHandler) Download ¶
func (h *DownloadHandler) Download(w http.ResponseWriter, r *http.Request)
func (*DownloadHandler) DownloadConverted ¶
func (h *DownloadHandler) DownloadConverted(w http.ResponseWriter, r *http.Request)
type OpdsHandler ¶
type OpdsHandler struct {
// contains filtered or unexported fields
}
func NewOpdsHandler ¶
func NewOpdsHandler(cfg *config.MyConfig, localizer *spreak.Localizer) *OpdsHandler
func (*OpdsHandler) OpenSearchDescription ¶
func (h *OpdsHandler) OpenSearchDescription(w http.ResponseWriter, r *http.Request)
func (*OpdsHandler) Root ¶
func (h *OpdsHandler) Root(w http.ResponseWriter, r *http.Request)
func (*OpdsHandler) Search ¶
func (h *OpdsHandler) Search(w http.ResponseWriter, r *http.Request)
type WebHandler ¶
type WebHandler struct {
// contains filtered or unexported fields
}
func NewWebHandler ¶
func NewWebHandler(cfg *config.MyConfig, localizer *spreak.Localizer) *WebHandler
func (*WebHandler) Home ¶
func (h *WebHandler) Home(w http.ResponseWriter, r *http.Request)
func (*WebHandler) Search ¶
func (h *WebHandler) Search(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.