package
0.0.0-20241126070708-799c4e13a4d4
Repository: https://github.com/muhammadardie/echo-cms.git
Documentation: pkg.go.dev
# Functions
Create Services godoc @Summary Create an info for page service @Description Create an info for page service @ID create-services @Tags Services @Accept json @Produce json @Security Bearer @Param title body string true "Services title" @Param icon body string true "Services icon" @Param desc body string true "Services desc" @Success 200 {object} Services @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /services [post].
Delete Services godoc @Summary Delete an service info @Description Delete an service info @ID delete-service @Tags Services @Accept json @Produce json @Param id path string true "ID of the service" @Success 200 {object} Services @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /services/{id} [delete].
Find Services godoc @Summary Find info services by ID @Description Find info services by ID @ID find-services @Tags Services @Accept json @Produce json @Security Bearer @Param id path string true "ID of the service to get" @Success 200 {object} utils.HttpSuccess{data=Services} @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /services/{id} [get].
Get Services godoc @Summary Get recent service @Description Get most recent service @ID get-services @Tags Services @Accept json @Produce json @Security Bearer @Success 200 {object} utils.HttpSuccess{data=[]Services} @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /services [get].
No description provided by the author
Update Services godoc @Summary Update an info for page service @Description Update an info for page service @ID update-service @Tags Services @Accept json @Produce json @Security Bearer @Param id path string true "ID of service to get" @Param title body string true "Services title" @Param icon body string true "Services icon" @Param desc body string true "Services desc" @Success 200 {object} Services @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /services/{id} [put].