Documentation ¶
Index ¶
- type Service
- func (s *Service) Add(c context.Context, arg *model.ArgHistory) (err error)
- func (s *Service) Clear(c context.Context, arg *model.ArgClear) (err error)
- func (s *Service) Delete(c context.Context, arg *model.ArgDelete) (err error)
- func (s *Service) History(c context.Context, arg *model.ArgHistories) (res []*model.Resource, err error)
- func (s *Service) HistoryCursor(c context.Context, arg *model.ArgCursor) (res []*model.Resource, err error)
- func (s *Service) Position(c context.Context, arg *model.ArgPos) (res *model.History, err error)
- func (s *Service) Progress(c context.Context, arg *model.ArgPro) (res map[int64]*model.History, 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) History ¶
func (s *Service) History(c context.Context, arg *model.ArgHistories) (res []*model.Resource, err error)
History return all histories .
func (*Service) HistoryCursor ¶
func (s *Service) HistoryCursor(c context.Context, arg *model.ArgCursor) (res []*model.Resource, err error)
HistoryCursor return all histories .
Click to show internal directories.
Click to hide internal directories.