Documentation ¶
Index ¶
- func SetupCreateTodoHandler(r *mux.Router, s storage.TodosStorage)
- func SetupDeleteTodoHandler(r *mux.Router, s storage.TodosStorage)
- func SetupGetAuthorsHandler(r *mux.Router, s storage.AuthorsStorage)
- func SetupGetTodoHandler(r *mux.Router, s storage.TodosStorage)
- func SetupGetTodosHandler(r *mux.Router, s storage.TodosStorage)
- func SetupSignInAuthorHandler(r *mux.Router, s *sessions.CookieStore, sg storage.AuthorsStorage)
- func SetupSignUpAuthorHandler(r *mux.Router, s storage.AuthorsStorage)
- func SetupUpdateTodoHandler(r *mux.Router, s storage.TodosStorage)
- type CreateTodoHandler
- type DeleteTodoHandler
- type GetAuthorsHandler
- type GetTodoHandler
- type GetTodosHandler
- type SignInAuthorHandler
- type SignUpAuthorHandler
- type UpdateTodoHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupCreateTodoHandler ¶
func SetupCreateTodoHandler(r *mux.Router, s storage.TodosStorage)
func SetupDeleteTodoHandler ¶
func SetupDeleteTodoHandler(r *mux.Router, s storage.TodosStorage)
func SetupGetAuthorsHandler ¶
func SetupGetAuthorsHandler(r *mux.Router, s storage.AuthorsStorage)
func SetupGetTodoHandler ¶
func SetupGetTodoHandler(r *mux.Router, s storage.TodosStorage)
func SetupGetTodosHandler ¶
func SetupGetTodosHandler(r *mux.Router, s storage.TodosStorage)
func SetupSignInAuthorHandler ¶
func SetupSignInAuthorHandler(r *mux.Router, s *sessions.CookieStore, sg storage.AuthorsStorage)
func SetupSignUpAuthorHandler ¶
func SetupSignUpAuthorHandler(r *mux.Router, s storage.AuthorsStorage)
func SetupUpdateTodoHandler ¶
func SetupUpdateTodoHandler(r *mux.Router, s storage.TodosStorage)
Types ¶
type CreateTodoHandler ¶
type CreateTodoHandler struct {
// contains filtered or unexported fields
}
func (CreateTodoHandler) ServeHTTP ¶
func (h CreateTodoHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type DeleteTodoHandler ¶
type DeleteTodoHandler struct {
// contains filtered or unexported fields
}
func (DeleteTodoHandler) ServeHTTP ¶
func (h DeleteTodoHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type GetAuthorsHandler ¶
type GetAuthorsHandler struct {
// contains filtered or unexported fields
}
func (GetAuthorsHandler) ServeHTTP ¶
func (h GetAuthorsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type GetTodoHandler ¶
type GetTodoHandler struct {
// contains filtered or unexported fields
}
func (GetTodoHandler) ServeHTTP ¶
func (h GetTodoHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type GetTodosHandler ¶
type GetTodosHandler struct {
// contains filtered or unexported fields
}
func (GetTodosHandler) ServeHTTP ¶
func (h GetTodosHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type SignInAuthorHandler ¶
type SignInAuthorHandler struct {
// contains filtered or unexported fields
}
func (SignInAuthorHandler) ServeHTTP ¶
func (h SignInAuthorHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type SignUpAuthorHandler ¶
type SignUpAuthorHandler struct {
// contains filtered or unexported fields
}
func (SignUpAuthorHandler) ServeHTTP ¶
func (h SignUpAuthorHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type UpdateTodoHandler ¶
type UpdateTodoHandler struct {
// contains filtered or unexported fields
}
func (UpdateTodoHandler) ServeHTTP ¶
func (h UpdateTodoHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.