package
0.0.0-20241126070708-799c4e13a4d4
Repository: https://github.com/muhammadardie/echo-cms.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Create Contacts godoc @Summary Create an info for page contact @Description Create an info for page contact @ID create-contacts @Tags Contacts @Accept json @Produce json @Security Bearer @Param address body string true "Contacts address" @Param phone body string true "Contacts phone" @Param mail body string true "Contacts mail" @Success 200 {object} Contacts @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /contacts [post].
Delete Contacts godoc @Summary Delete an contact info @Description Delete an contact info @ID delete-contact @Tags Contacts @Accept json @Produce json @Param id path string true "ID of the contact" @Success 200 {object} Contacts @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /contacts/{id} [delete].
Find Contacts godoc @Summary Find info contacts by ID @Description Find info contacts by ID @ID find-contacts @Tags Contacts @Accept json @Produce json @Security Bearer @Param id path string true "ID of the contact to get" @Success 200 {object} utils.HttpSuccess{data=Contacts} @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /contacts/{id} [get].
Get Contacts godoc @Summary Get recent contact @Description Get most recent contact @ID get-contacts @Tags Contacts @Accept json @Produce json @Security Bearer @Success 200 {object} utils.HttpSuccess{data=[]Contacts} @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /contacts [get].
Update Contacts godoc @Summary Update an info for page contact @Description Update an info for page contact @ID update-contact @Tags Contacts @Accept json @Produce json @Security Bearer @Param id path string true "ID of contact to get" @Param address body string true "Contacts address" @Param phone body string true "Contacts phone" @Param mail body string true "Contacts mail" @Success 200 {object} Contacts @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /contacts/{id} [put].

# Structs

No description provided by the author