Documentation ¶
Index ¶
- type Base
- func (d *Base) AddEpisodic(ctx context.Context, ep *types.AddEpisodic) (*types.Episodic, error)
- func (d *Base) AddFilesystem(ctx context.Context, f *types.AddFilesystem) (*types.Filesystem, error)
- func (d *Base) AddIntegration(ctx context.Context, a *types.AddIntegration) (*types.Integration, error)
- func (d *Base) DeleteEpisodic(ctx context.Context, id string) error
- func (d *Base) DeleteFilesystem(ctx context.Context, id string) error
- func (d *Base) DeleteIntegration(ctx context.Context, id string) error
- func (d *Base) GetEpisodeSearch(ctx context.Context, ep *types.Episode) (*types.Episode, error)
- func (d *Base) GetEpisodicByID(ctx context.Context, u string) (*types.Episodic, error)
- func (d *Base) GetEpisodicEpisodesByID(ctx context.Context, u string) ([]*types.Episode, error)
- func (d *Base) GetEpisodics(ctx context.Context) ([]*types.Episodic, error)
- func (d *Base) GetEpisodicsMeta(ctx context.Context, i []string) (map[string]*types.EpisodicMeta, error)
- func (d *Base) GetFilesystemByID(ctx context.Context, u string) (*types.Filesystem, error)
- func (d *Base) GetFilesystems(ctx context.Context) ([]types.Filesystem, error)
- func (d *Base) GetIntegrationByID(ctx context.Context, u string) (*types.Integration, error)
- func (d *Base) GetIntegrations(ctx context.Context) ([]types.Integration, error)
- func (d *Base) GetLatestToken(ctx context.Context, id string) (*types.Token, error)
- func (d *Base) MarkEpisodeWatched(ctx context.Context, id, episodeID string) error
- func (d *Base) MarkEpisodicSeasonWatched(ctx context.Context, id, season string) error
- func (d *Base) StoreEpisode(ctx context.Context, ep *types.Episode) error
- func (d *Base) StoreLatestToken(ctx context.Context, t *types.Token) (*types.Token, error)
- func (d *Base) UpdateEpisode(ctx context.Context, ep *types.Episode) error
- func (d *Base) UpdateEpisodic(ctx context.Context, id string, ep *types.AddEpisodic) (*types.Episodic, error)
- func (d *Base) UpdateEpisodicByID(ctx context.Context, ep *types.Episodic) error
- func (d *Base) UpdateEpisodicIntegration(ctx context.Context, id, external string) error
- func (d *Base) UpdateFilesystem(ctx context.Context, id string, n *types.AddFilesystem) (*types.Filesystem, error)
- func (d *Base) UpdateIntegration(ctx context.Context, id string, n *types.AddIntegration) (*types.Integration, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct { Errors []error // contains filtered or unexported fields }
func (*Base) AddEpisodic ¶
func (*Base) AddFilesystem ¶
func (d *Base) AddFilesystem(ctx context.Context, f *types.AddFilesystem) (*types.Filesystem, error)
func (*Base) AddIntegration ¶
func (d *Base) AddIntegration(ctx context.Context, a *types.AddIntegration) (*types.Integration, error)
func (*Base) DeleteFilesystem ¶
func (*Base) DeleteIntegration ¶
func (*Base) GetEpisodeSearch ¶
func (*Base) GetEpisodicByID ¶
func (*Base) GetEpisodicEpisodesByID ¶
func (*Base) GetEpisodics ¶
func (*Base) GetEpisodicsMeta ¶ added in v0.0.10
func (*Base) GetFilesystemByID ¶
func (*Base) GetFilesystems ¶
func (*Base) GetIntegrationByID ¶
func (*Base) GetIntegrations ¶
func (*Base) GetLatestToken ¶ added in v0.0.11
func (*Base) MarkEpisodeWatched ¶
func (*Base) MarkEpisodicSeasonWatched ¶ added in v0.0.12
func (*Base) StoreEpisode ¶
func (*Base) StoreLatestToken ¶ added in v0.0.11
func (*Base) UpdateEpisode ¶
func (*Base) UpdateEpisodic ¶
func (*Base) UpdateEpisodicByID ¶
func (*Base) UpdateEpisodicIntegration ¶
func (*Base) UpdateFilesystem ¶
func (d *Base) UpdateFilesystem(ctx context.Context, id string, n *types.AddFilesystem) (*types.Filesystem, error)
func (*Base) UpdateIntegration ¶
func (d *Base) UpdateIntegration(ctx context.Context, id string, n *types.AddIntegration) (*types.Integration, error)
Click to show internal directories.
Click to hide internal directories.