Documentation ¶
Index ¶
- Constants
- Variables
- func DefaultHeaders(w http.ResponseWriter)
- func GetBook(w http.ResponseWriter, r *http.Request)
- func GetBookCover(w http.ResponseWriter, r *http.Request)
- func GetBooks(w http.ResponseWriter, r *http.Request)
- func GetCompletedClear(w http.ResponseWriter, r *http.Request)
- func GetCompletedSet(w http.ResponseWriter, r *http.Request)
- func GetDescription(w http.ResponseWriter, r *http.Request)
- func GetDigest(w http.ResponseWriter, r *http.Request)
- func GetDownloads(w http.ResponseWriter, r *http.Request)
- func GetFile(w http.ResponseWriter, r *http.Request)
- func GetListCover(w http.ResponseWriter, r *http.Request)
- func GetLocalTagsApply(w http.ResponseWriter, r *http.Request)
- func GetLocalTagsEdit(w http.ResponseWriter, r *http.Request)
- func GetRobotsTxt(w http.ResponseWriter, r *http.Request)
- func GetSearch(w http.ResponseWriter, r *http.Request)
- func HandleFuncs(p int)
- func Init() error
- func InitTemplates(templatesFS fs.FS, stencilAppStyles fs.FS)
- func PostPrerender(w http.ResponseWriter, _ *http.Request)
- func SetPassword(role, p string)
- func SetUsername(role, u string)
Constants ¶
View Source
const ( AdminRole = "admin" )
View Source
const (
SearchResultsLimit = 24 // divides by 2,3,4,6 to allow that many columns
)
Variables ¶
View Source
var ( Auth = middleware.BasicHttpAuth Gzip = middleware.Gzip GetOnly = middleware.GetMethodOnly PostOnly = middleware.PostMethodOnly Static = middleware.Static Log = nod.RequestLog )
Functions ¶
func DefaultHeaders ¶ added in v0.1.17
func DefaultHeaders(w http.ResponseWriter)
func GetBookCover ¶ added in v0.1.89
func GetBookCover(w http.ResponseWriter, r *http.Request)
func GetCompletedClear ¶ added in v0.1.60
func GetCompletedClear(w http.ResponseWriter, r *http.Request)
func GetCompletedSet ¶ added in v0.1.60
func GetCompletedSet(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 GetListCover ¶ added in v0.1.89
func GetListCover(w http.ResponseWriter, r *http.Request)
func GetLocalTagsApply ¶ added in v0.1.62
func GetLocalTagsApply(w http.ResponseWriter, r *http.Request)
func GetLocalTagsEdit ¶ added in v0.1.62
func GetLocalTagsEdit(w http.ResponseWriter, r *http.Request)
func GetRobotsTxt ¶ added in v0.1.95
func GetRobotsTxt(w http.ResponseWriter, r *http.Request)
func HandleFuncs ¶
func HandleFuncs(p int)
func PostPrerender ¶ added in v0.2.11
func PostPrerender(w http.ResponseWriter, _ *http.Request)
func SetPassword ¶ added in v0.1.10
func SetPassword(role, p string)
func SetUsername ¶ added in v0.1.10
func SetUsername(role, u string)
Types ¶
This section is empty.
Source Files ¶
- default_headers.go
- get_book.go
- get_book_cover.go
- get_books.go
- get_completed_clear.go
- get_completed_set.go
- get_cover.go
- get_description.go
- get_digest.go
- get_downloads.go
- get_file.go
- get_list_cover.go
- get_local_tags_apply.go
- get_local_tags_edit.go
- get_robots.go
- get_search.go
- init.go
- post_prerender.go
- routing.go
Click to show internal directories.
Click to hide internal directories.