Documentation
¶
Overview ¶
Package migrate performs read-only PMS discovery and reviewed, idempotent local imports.
Index ¶
- type Item
- type List
- type Options
- type Plan
- type Request
- type Service
- func (s *Service) ExportCSV(ctx context.Context, viewer int64, format, kind string, w io.Writer) error
- func (s *Service) Handler() http.Handler
- func (s *Service) Import(ctx context.Context, id string) (Plan, error)
- func (s *Service) Preview(ctx context.Context, q Request) (Plan, error)
- func (s *Service) PreviewCSV(ctx context.Context, viewer int64, format, kind string, r io.Reader) (Plan, error)
- type Viewer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct {
External string `json:"external"`
Key core.RatingKey `json:"key"`
Title string `json:"title"`
Viewer int64 `json:"viewer"`
Views int `json:"views"`
Offset int64 `json:"offsetMs"`
Duration int64 `json:"durationMs"`
Rating float64 `json:"rating"`
ViewedAt int64 `json:"viewedAt"`
Watchlist bool `json:"watchlist,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.