Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogProgress ¶
type CatalogProgress struct {
// contains filtered or unexported fields
}
func NewCatalogProgress ¶
func NewCatalogProgress() *CatalogProgress
func (*CatalogProgress) Add ¶
func (cp *CatalogProgress) Add(sid string, p SeriesProgress)
func (CatalogProgress) MarshalJSON ¶
func (cp CatalogProgress) MarshalJSON() ([]byte, error)
type EntryProgress ¶
type EntryProgress struct { EID string `json:"eid" db:"eid"` Current int `json:"current" db:"current"` Total int `json:"total" db:"total"` }
func (EntryProgress) String ¶
func (ep EntryProgress) String() string
type SeriesProgress ¶
type SeriesProgress struct {
// contains filtered or unexported fields
}
func NewSeriesProgress ¶
func NewSeriesProgress() *SeriesProgress
func (*SeriesProgress) Add ¶
func (sp *SeriesProgress) Add(eid string, p EntryProgress)
func (*SeriesProgress) Get ¶
func (sp *SeriesProgress) Get(eid string) (EntryProgress, error)
func (SeriesProgress) MarshalJSON ¶
func (sp SeriesProgress) MarshalJSON() ([]byte, error)
func (*SeriesProgress) UnmarshalJSON ¶
func (sp *SeriesProgress) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.