timeline

package
v0.0.0-...-0eec0e3 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	VisitRepo            visit.Repository
	CustomerRepo         customer.Repository
	CustomerVisitAssRepo cusvisitassoc.Repository
	GiftAssRepo          giftassociate.Repository
	GiftRepo             gift.Repository
	ActVisitAssRepo      actvisitassoc.Repository
	ActivityRepo         activity.Repository
	// contains filtered or unexported fields
}

func NewService

func NewService(visitRepo visit.Repository, customerRepo customer.Repository, customeVisitAssRepo cusvisitassoc.Repository,
	giftAssRepo giftassociate.Repository, giftRepo gift.Repository,
	actVisitAssRepo actvisitassoc.Repository, activityRepo activity.Repository,
	l glog.Logger) *Service

func (*Service) FindTimelineByDay

func (m *Service) FindTimelineByDay(ctx context.Context, dayTime int64) ([]types.Timeline, error)

func (*Service) FindTimelineInRange

func (m *Service) FindTimelineInRange(ctx context.Context, startTime, endTime int64) ([]types.Timeline, error)

Jump to

Keyboard shortcuts

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