53 lines
1.1 KiB
Go
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)
|
|
}
|