services

package
v0.0.0-...-9b663ca Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistoryService

type HistoryService struct {
	base.Service
}

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 ..

Jump to

Keyboard shortcuts

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