Documentation ¶
Index ¶
- type HistoryService
- func (s HistoryService) AppHistoryStatistic(ctx context.Context, sourceType *int64, uid uint) (*model.HistoryStatistic, error)
- func (s HistoryService) GetHistory(ctx context.Context, sourceType int64, sourceID int64, uid uint) (*model.History, error)
- func (s HistoryService) HistoryStatistic(ctx context.Context, sourceType *int64) (*model.HistoryStatistic, error)
- func (s HistoryService) ListHistory(ctx context.Context, sourceType *int64, searchParam *base.SearchParam, ...) (int64, []*model.History, error)
- func (s HistoryService) RecordHistory(ctx context.Context, input model.NewHistoryInput, uid uint) (*model.History, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistoryService ¶
HistoryService ..
func (HistoryService) AppHistoryStatistic ¶
func (s HistoryService) AppHistoryStatistic(ctx context.Context, sourceType *int64, uid uint) (*model.HistoryStatistic, error)
AppHistoryStatistic ..
func (HistoryService) GetHistory ¶
func (s HistoryService) GetHistory(ctx context.Context, sourceType int64, sourceID int64, uid uint) (*model.History, error)
GetHistory ..
func (HistoryService) HistoryStatistic ¶
func (s HistoryService) HistoryStatistic(ctx context.Context, sourceType *int64) (*model.HistoryStatistic, error)
HistoryStatistic ..
func (HistoryService) ListHistory ¶
func (s HistoryService) ListHistory(ctx context.Context, sourceType *int64, searchParam *base.SearchParam, subSourceID *int64, uid uint, scheme string) (int64, []*model.History, error)
ListHistory ..
func (HistoryService) RecordHistory ¶
func (s HistoryService) RecordHistory(ctx context.Context, input model.NewHistoryInput, uid uint) (*model.History, error)
RecordHistory ..
Click to show internal directories.
Click to hide internal directories.