Documentation
¶
Index ¶
- func AuthorsHandler(ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, ...)
- func BookHandler(ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, ...)
- func BooksHandler(ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, ...)
- func DeleteBookAuthorHandler(ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, ...)
- func EpisodeHandler(ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, ...)
- func NewAuthorHandler(ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, ...)
- func NewBookAuthorHandler(ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, ...)
- func NewEpisodeHandler(ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, ...)
- func NewSectionHandler(ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthorsHandler ¶
func AuthorsHandler( ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, body []byte, _ model.User, )
AuthorsHandler handles /author/list and responds with the latest authors.
func BookHandler ¶
func BookHandler( ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, body []byte, _ model.User, )
BookHandler handles /book/show and responds with a book.
func BooksHandler ¶
func BooksHandler( ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, body []byte, _ model.User, )
BooksHandler handles /book/list and responds with the latest books.
func DeleteBookAuthorHandler ¶
func DeleteBookAuthorHandler( ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, body []byte, _ model.User, )
DeleteBookAuthorHandler handles /book/author/delete and unregisters the book author.
func EpisodeHandler ¶
func EpisodeHandler( ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, body []byte, _ model.User, )
EpisodeHandler handles /episode/show and responds with an episode.
func NewAuthorHandler ¶
func NewAuthorHandler( ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, body []byte, _ model.User, )
NewAuthorHandler handles /author/new and creates an author.
func NewBookAuthorHandler ¶
func NewBookAuthorHandler( ctx web.C, writer http.ResponseWriter, httpReq *http.Request, dbx *sqlx.DB, body []byte, _ model.User, )
NewBookAuthorHandler handles /book/author/new and registers a book author.
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.