tariffs/internal/controller/privilege_internal/controller.go
2024-05-29 16:02:06 +03:00

53 lines
1.1 KiB
Go

package privilege_internal
import (
"github.com/gofiber/fiber/v2"
"net/http"
)
type Deps struct {
}
type PrivilegeInternal struct {
}
func NewPrivilegeInternal(deps Deps) *PrivilegeInternal {
return &PrivilegeInternal{}
}
func (p *PrivilegeInternal) Get(c *fiber.Ctx) error {
return c.SendStatus(http.StatusOK)
}
func (p *PrivilegeInternal) Create(c *fiber.Ctx) error {
return c.SendStatus(http.StatusCreated)
}
func (p *PrivilegeInternal) Update(c *fiber.Ctx) error {
return c.SendStatus(http.StatusOK)
}
func (p *PrivilegeInternal) Delete(c *fiber.Ctx) error {
return c.SendStatus(http.StatusNoContent)
}
func (p *PrivilegeInternal) GetByID(c *fiber.Ctx) error {
return c.SendStatus(http.StatusOK)
}
func (p *PrivilegeInternal) GetByService(c *fiber.Ctx) error {
return c.SendStatus(http.StatusOK)
}
func (p *PrivilegeInternal) PostMany(c *fiber.Ctx) error {
return c.SendStatus(http.StatusCreated)
}
func (p *PrivilegeInternal) UpdateMany(c *fiber.Ctx) error {
return c.SendStatus(http.StatusOK)
}
func (p *PrivilegeInternal) Restore(c *fiber.Ctx) error {
return c.SendStatus(http.StatusOK)
}