handler

package
v0.0.0-...-1e2a79c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL