store

package
v0.0.0-...-d5751c4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is store provider.

Functions

This section is empty.

Types

type ReportScheduleStore

type ReportScheduleStore struct {
	// contains filtered or unexported fields
}

func NewReportScheduleStore

func NewReportScheduleStore(db store.DatabaseManager, logger *log.Logger) *ReportScheduleStore

func (*ReportScheduleStore) DeleteReportSchedule

func (s *ReportScheduleStore) DeleteReportSchedule(ctx context.Context, id int) (*entity.ReportSchedule, error)

func (*ReportScheduleStore) NewReportSchedule

func (s *ReportScheduleStore) NewReportSchedule(ctx context.Context, schedule entity.ReportSchedule) (*entity.ReportSchedule, error)

func (*ReportScheduleStore) ReportSchedule

func (s *ReportScheduleStore) ReportSchedule(ctx context.Context, id int) (*entity.ReportSchedule, error)

func (*ReportScheduleStore) ReportSchedules

func (s *ReportScheduleStore) ReportSchedules(ctx context.Context, query string) ([]entity.ReportSchedule, error)

func (*ReportScheduleStore) UpdateReportSchedule

func (s *ReportScheduleStore) UpdateReportSchedule(ctx context.Context, id int, schedule entity.ReportSchedule) (*entity.ReportSchedule, error)

type ReportScheduleStoreManager

type ReportScheduleStoreManager interface {
	ReportSchedule(ctx context.Context, id int) (*entity.ReportSchedule, error)
	ReportSchedules(ctx context.Context, query string) ([]entity.ReportSchedule, error)
	NewReportSchedule(ctx context.Context, schedule entity.ReportSchedule) (*entity.ReportSchedule, error)
	UpdateReportSchedule(ctx context.Context, id int, schedule entity.ReportSchedule) (*entity.ReportSchedule, error)
	DeleteReportSchedule(ctx context.Context, id int) (*entity.ReportSchedule, error)
}

Jump to

Keyboard shortcuts

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