rest

package
v0.1.45 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func DefaultHeaders added in v0.1.17

func DefaultHeaders(w http.ResponseWriter)

func GetBook

func GetBook(w http.ResponseWriter, r *http.Request)

func GetBooks

func GetBooks(w http.ResponseWriter, r *http.Request)

func GetCover

func GetCover(w http.ResponseWriter, r *http.Request)

func GetDescription added in v0.1.16

func GetDescription(w http.ResponseWriter, r *http.Request)

func GetDownloads

func GetDownloads(w http.ResponseWriter, r *http.Request)

func GetFile added in v0.1.4

func GetFile(w http.ResponseWriter, r *http.Request)

func GetSearch

func GetSearch(w http.ResponseWriter, r *http.Request)

func HandleFuncs

func HandleFuncs()

func Init

func Init() error

func InitTemplates

func InitTemplates(templatesFS fs.FS, stencilAppStyles fs.FS)

func SetPassword added in v0.1.10

func SetPassword(p string)

func SetUsername added in v0.1.10

func SetUsername(u string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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