Documentation ¶
Index ¶
- type HttpHandler
- type KQHandler
- func (h KQHandler) GetAuthors() http.HandlerFunc
- func (h KQHandler) GetBooks() http.HandlerFunc
- func (h KQHandler) GetQuotes() http.HandlerFunc
- func (h KQHandler) GetQuotesByAuthor() http.HandlerFunc
- func (h KQHandler) GetQuotesByTitle() http.HandlerFunc
- func (h KQHandler) Login() http.HandlerFunc
- func (h KQHandler) Registration() http.HandlerFunc
- func (h KQHandler) UploadQuotes() http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpHandler ¶
type HttpHandler interface { GetQuotes() http.HandlerFunc GetBooks() http.HandlerFunc GetAuthors() http.HandlerFunc GetQuotesByAuthor() http.HandlerFunc GetQuotesByTitle() http.HandlerFunc UploadQuotes() http.HandlerFunc Login() http.HandlerFunc Registration() http.HandlerFunc }
func New ¶
func New(qr quotes.DBQuotesRepository, ur users.UsersDAO) HttpHandler
type KQHandler ¶
type KQHandler struct {
// contains filtered or unexported fields
}
func (KQHandler) GetAuthors ¶
func (h KQHandler) GetAuthors() http.HandlerFunc
func (KQHandler) GetBooks ¶
func (h KQHandler) GetBooks() http.HandlerFunc
func (KQHandler) GetQuotes ¶
func (h KQHandler) GetQuotes() http.HandlerFunc
func (KQHandler) GetQuotesByAuthor ¶
func (h KQHandler) GetQuotesByAuthor() http.HandlerFunc
func (KQHandler) GetQuotesByTitle ¶
func (h KQHandler) GetQuotesByTitle() http.HandlerFunc
func (KQHandler) Login ¶
func (h KQHandler) Login() http.HandlerFunc
func (KQHandler) Registration ¶
func (h KQHandler) Registration() http.HandlerFunc
func (KQHandler) UploadQuotes ¶
func (h KQHandler) UploadQuotes() http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.