Documentation ¶
Index ¶
- func CreateNewAuthor(w http.ResponseWriter, r *http.Request)
- func CreateNewBook(w http.ResponseWriter, r *http.Request)
- func GetAuthor(w http.ResponseWriter, r *http.Request)
- func GetAuthors(w http.ResponseWriter, r *http.Request)
- func GetBook(w http.ResponseWriter, r *http.Request)
- func GetBooks(w http.ResponseWriter, r *http.Request)
- type Credentials
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewAuthor ¶
func CreateNewAuthor(w http.ResponseWriter, r *http.Request)
CreateNewAuthor calls the model to create one author in database
func CreateNewBook ¶
func CreateNewBook(w http.ResponseWriter, r *http.Request)
CreateNewBook calls the model to create one book in database
func GetAuthor ¶
func GetAuthor(w http.ResponseWriter, r *http.Request)
GetAuthor calls the model to bring one specific author
func GetAuthors ¶
func GetAuthors(w http.ResponseWriter, r *http.Request)
GetAuthors calls the model to bring all the authors
Types ¶
type Credentials ¶
Click to show internal directories.
Click to hide internal directories.