Documentation
¶
Index ¶
- Variables
- type ReportScheduleStore
- func (s *ReportScheduleStore) DeleteReportSchedule(ctx context.Context, id int) (*entity.ReportSchedule, error)
- func (s *ReportScheduleStore) NewReportSchedule(ctx context.Context, schedule entity.ReportSchedule) (*entity.ReportSchedule, error)
- func (s *ReportScheduleStore) ReportSchedule(ctx context.Context, id int) (*entity.ReportSchedule, error)
- func (s *ReportScheduleStore) ReportSchedules(ctx context.Context, query string) ([]entity.ReportSchedule, error)
- func (s *ReportScheduleStore) UpdateReportSchedule(ctx context.Context, id int, schedule entity.ReportSchedule) (*entity.ReportSchedule, error)
- type ReportScheduleStoreManager
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewReportScheduleStore)
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) }
Click to show internal directories.
Click to hide internal directories.