Documentation ¶
Index ¶
- type Service
- func (s *Service) AddCallback(c context.Context, arg *model.ArgCallback) (err error)
- func (s *Service) AddMidProgress(c context.Context, arg *model.ArgMidProgress) (err error)
- func (s *Service) AddReport(c context.Context, arg *model.ArgReport) (err error)
- func (s *Service) AddReportCache(c context.Context, arg *model.ArgReport) (err error)
- func (s *Service) AddTokenCache(ctx context.Context, arg *model.ArgReport) (err error)
- func (s *Service) AddTokensCache(ctx context.Context, arg *model.ArgReports) (err error)
- func (s *Service) AddUserReportCache(c context.Context, arg *model.ArgUserReports) (err error)
- func (s *Service) DelInvalidReports(c context.Context, arg *model.ArgDelInvalidReport) (err error)
- func (s *Service) DelReport(c context.Context, arg *model.ArgReport) (err error)
- func (s *Service) SetSetting(c context.Context, arg *model.ArgSetting) (err error)
- func (s *Service) Setting(c context.Context, arg *model.ArgMid) (res map[int]int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct info.
func (*Service) AddCallback ¶
AddCallback adds callback data.
func (*Service) AddMidProgress ¶
AddMidProgress adds mid count number to task's progress field
func (*Service) AddReportCache ¶
AddReportCache adds report.
func (*Service) AddTokenCache ¶
AddTokenCache add token cache
func (*Service) AddTokensCache ¶
AddTokensCache add tokens cache
func (*Service) AddUserReportCache ¶
AddUserReportCache adds user report cache.
func (*Service) DelInvalidReports ¶
DelInvalidReports deletes invalid reports.
func (*Service) SetSetting ¶
SetSetting sets user push switch setting.
Click to show internal directories.
Click to hide internal directories.