Documentation ¶
Index ¶
- type LogService
- func (ls *LogService) Create(c echo.Context, orgID int, cp []model.CapacityPlanEntry) (err error)
- func (ls *LogService) DeleteByID(c echo.Context, capEntryID int) (err error)
- func (ls *LogService) List(c echo.Context, orgID int, resourceToGet uuid.UUID, startDate time.Time, ...) (cpes []model.CapacityPlanEntry, err error)
- func (ls *LogService) ListSummary(c echo.Context, orgID int, resourceToGet uuid.UUID, startDate time.Time, ...) (cpes []model.CapacityPlan, err error)
- func (ls *LogService) ViewByID(c echo.Context, capEntryID int, orgID int) (capEntry model.CapacityPlanEntry, err error)
- func (ls *LogService) ViewByUUID(c echo.Context, capEntryUUID uuid.UUID, orgID int) (capEntry model.CapacityPlanEntry, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogService ¶
type LogService struct { capacityplan.Service // contains filtered or unexported fields }
LogService represents logging service
func New ¶
func New(svc capacityplan.Service, logger authapi.Logger) *LogService
func (*LogService) Create ¶
func (ls *LogService) Create(c echo.Context, orgID int, cp []model.CapacityPlanEntry) (err error)
func (*LogService) DeleteByID ¶
func (ls *LogService) DeleteByID(c echo.Context, capEntryID int) (err error)
func (*LogService) ListSummary ¶
func (*LogService) ViewByID ¶
func (ls *LogService) ViewByID(c echo.Context, capEntryID int, orgID int) (capEntry model.CapacityPlanEntry, err error)
func (*LogService) ViewByUUID ¶
func (ls *LogService) ViewByUUID(c echo.Context, capEntryUUID uuid.UUID, orgID int) (capEntry model.CapacityPlanEntry, err error)
Click to show internal directories.
Click to hide internal directories.