Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IComic ¶
type IComic interface { Find(name string) (model.Comic, error) FindByID(id primitive.ObjectID) (model.Comic, error) FindByName(context.Context, string) (model.Comic, error) FindAll(ctx context.Context, name string, first, offset int) ([]model.Comic, error) Insert(*model.Comic) error CreateIndex(context.Context) error }
IComic ...
type IEpisode ¶
type IEpisode interface { FindByNo(comicID primitive.ObjectID, no int) (*model.Episode, error) FindAll(ctx context.Context, comicID primitive.ObjectID, first, offset int) ([]model.Episode, error) Insert(*model.Episode) error CreateIndex(context.Context) error }
IEpisode ...
type IPage ¶
type IPage interface { FindByEpisodeSource(episodeID, sourceID primitive.ObjectID) (model.Page, error) FindByEpisode(ctx context.Context, episodeID primitive.ObjectID, first, offset int) ([]model.Page, error) Insert(*model.Page) error CreateIndex(context.Context) error }
IPage ...
Click to show internal directories.
Click to hide internal directories.