Documentation ¶
Index ¶
- Constants
- Variables
- func GetAnnotation(w http.ResponseWriter, r *http.Request)
- func GetBook(w http.ResponseWriter, r *http.Request)
- func GetBookCover(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 GetFile(w http.ResponseWriter, r *http.Request)
- func GetFiles(w http.ResponseWriter, r *http.Request)
- func GetIcon(w http.ResponseWriter, r *http.Request)
- func GetLatest(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 GetManifest(w http.ResponseWriter, r *http.Request)
- func GetSearch(w http.ResponseWriter, r *http.Request)
- func GetVideos(w http.ResponseWriter, r *http.Request)
- func HandleFuncs(p int)
- func Init() error
- func InitTemplates(templatesFS fs.FS, stencilAppStyles fs.FS)
- func SetPassword(role, p string)
- func SetUsername(role, u string)
- type DownloadViewModel
- type LatestBookViewModel
- type NewBookViewModel
Constants ¶
View Source
const ( AdminRole = "admin" )
Variables ¶
View Source
var ( Auth = middleware.BasicHttpAuth Log = nod.RequestLog )
Functions ¶
func GetAnnotation ¶ added in v0.3.33
func GetAnnotation(w http.ResponseWriter, r *http.Request)
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 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 GetManifest ¶ added in v0.3.30
func GetManifest(w http.ResponseWriter, r *http.Request)
func HandleFuncs ¶
func HandleFuncs(p int)
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 ¶
type DownloadViewModel ¶ added in v0.3.3
type LatestBookViewModel ¶ added in v0.3.3
type NewBookViewModel ¶ added in v0.3.3
type NewBookViewModel struct { Id string Title string Authors []string Downloads []*DownloadViewModel }
Source Files ¶
- get_annotation.go
- get_book.go
- get_book_cover.go
- get_completed_clear.go
- get_completed_set.go
- get_cover.go
- get_description.go
- get_digest.go
- get_file.go
- get_files.go
- get_icon.go
- get_latest.go
- get_list_cover.go
- get_local_tags_apply.go
- get_local_tags_edit.go
- get_manifest.go
- get_search.go
- get_videos.go
- init.go
- routing.go
Click to show internal directories.
Click to hide internal directories.