handler

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

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PersonHandler

type PersonHandler struct {
	Repo repository.PersonRepository
}

func NewPersonHandler

func NewPersonHandler(repo repository.PersonRepository) *PersonHandler

func (*PersonHandler) CountPerson

func (ph *PersonHandler) CountPerson(w http.ResponseWriter, r *http.Request)

func (*PersonHandler) CreatePerson

func (ph *PersonHandler) CreatePerson(w http.ResponseWriter, r *http.Request)

func (*PersonHandler) DeletePerson

func (ph *PersonHandler) DeletePerson(w http.ResponseWriter, r *http.Request)

func (*PersonHandler) GetPerson

func (ph *PersonHandler) GetPerson(w http.ResponseWriter, r *http.Request)

func (*PersonHandler) GetPersonByID

func (ph *PersonHandler) GetPersonByID(w http.ResponseWriter, r *http.Request)

func (*PersonHandler) UpdatePerson

func (ph *PersonHandler) UpdatePerson(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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