logging

package
v0.0.0-...-57b518e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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) List

func (ls *LogService) List(c echo.Context, orgID int, resourceToGet uuid.UUID, startDate time.Time, endDate time.Time) (cpes []model.CapacityPlanEntry, err error)

func (*LogService) ListSummary

func (ls *LogService) ListSummary(c echo.Context, orgID int, resourceToGet uuid.UUID, startDate time.Time, endDate time.Time) (cpes []model.CapacityPlan, err error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL