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 GetContents(w http.ResponseWriter, r *http.Request)
- func GetExternalLinks(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 GetInformation(w http.ResponseWriter, r *http.Request)
- func GetLatest(w http.ResponseWriter, r *http.Request)
- func GetListCover(w http.ResponseWriter, r *http.Request)
- func GetManifest(w http.ResponseWriter, r *http.Request)
- func GetReviews(w http.ResponseWriter, r *http.Request)
- func GetSearch(w http.ResponseWriter, r *http.Request)
- func GetSimilar(w http.ResponseWriter, r *http.Request)
- func GetVideos(w http.ResponseWriter, r *http.Request)
- func HandleFuncs(p int)
- func Init() error
- 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 GetContents ¶ added in v0.3.50
func GetContents(w http.ResponseWriter, r *http.Request)
func GetExternalLinks ¶ added in v0.3.39
func GetExternalLinks(w http.ResponseWriter, r *http.Request)
func GetInformation ¶ added in v0.3.39
func GetInformation(w http.ResponseWriter, r *http.Request)
func GetListCover ¶ added in v0.1.89
func GetListCover(w http.ResponseWriter, r *http.Request)
func GetManifest ¶ added in v0.3.30
func GetManifest(w http.ResponseWriter, r *http.Request)
func GetReviews ¶ added in v0.3.48
func GetReviews(w http.ResponseWriter, r *http.Request)
func GetSimilar ¶ added in v0.3.47
func GetSimilar(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 ¶
Click to show internal directories.
Click to hide internal directories.