Documentation ¶
Index ¶
- type Service
- func (svc Service) AddCategory(ctx context.Context, data model.AddCategory, v *model.Category) error
- func (svc Service) AddCategoryRelation(ctx context.Context, data model.AddCategoryRelation, v *model.CategoryRelation) error
- func (svc Service) AddCategoryType(ctx context.Context, data model.AddCategoryType, v *model.CategoryType) error
- func (svc Service) AddComic(ctx context.Context, data model.AddComic, v *model.Comic) error
- func (svc Service) AddComicCategory(ctx context.Context, data model.AddComicCategory, v *model.ComicCategory) error
- func (svc Service) AddComicChapter(ctx context.Context, data model.AddComicChapter, v *model.ComicChapter) error
- func (svc Service) AddComicCover(ctx context.Context, data model.AddComicCover, v *model.ComicCover) error
- func (svc Service) AddComicExternal(ctx context.Context, data model.AddComicExternal, v *model.ComicExternal) error
- func (svc Service) AddComicRelation(ctx context.Context, data model.AddComicRelation, v *model.ComicRelation) error
- func (svc Service) AddComicRelationType(ctx context.Context, data model.AddComicRelationType, ...) error
- func (svc Service) AddComicSynopsis(ctx context.Context, data model.AddComicSynopsis, v *model.ComicSynopsis) error
- func (svc Service) AddComicTag(ctx context.Context, data model.AddComicTag, v *model.ComicTag) error
- func (svc Service) AddComicTitle(ctx context.Context, data model.AddComicTitle, v *model.ComicTitle) error
- func (svc Service) AddLanguage(ctx context.Context, data model.AddLanguage, v *model.Language) error
- func (svc Service) AddTag(ctx context.Context, data model.AddTag, v *model.Tag) error
- func (svc Service) AddTagType(ctx context.Context, data model.AddTagType, v *model.TagType) error
- func (svc Service) AddWebsite(ctx context.Context, data model.AddWebsite, v *model.Website) error
- func (svc Service) CountCategory(ctx context.Context, conds any) (int, error)
- func (svc Service) CountCategoryRelation(ctx context.Context, conds any) (int, error)
- func (svc Service) CountCategoryType(ctx context.Context, conds any) (int, error)
- func (svc Service) CountComic(ctx context.Context, conds any) (int, error)
- func (svc Service) CountComicCategory(ctx context.Context, conds any) (int, error)
- func (svc Service) CountComicChapter(ctx context.Context, conds any) (int, error)
- func (svc Service) CountComicCover(ctx context.Context, conds any) (int, error)
- func (svc Service) CountComicExternal(ctx context.Context, conds any) (int, error)
- func (svc Service) CountComicRelation(ctx context.Context, conds any) (int, error)
- func (svc Service) CountComicRelationType(ctx context.Context, conds any) (int, error)
- func (svc Service) CountComicSynopsis(ctx context.Context, conds any) (int, error)
- func (svc Service) CountComicTag(ctx context.Context, conds any) (int, error)
- func (svc Service) CountComicTitle(ctx context.Context, conds any) (int, error)
- func (svc Service) CountLanguage(ctx context.Context, conds any) (int, error)
- func (svc Service) CountTag(ctx context.Context, conds any) (int, error)
- func (svc Service) CountTagType(ctx context.Context, conds any) (int, error)
- func (svc Service) CountWebsite(ctx context.Context, conds any) (int, error)
- func (svc Service) DeleteCategoryBySID(ctx context.Context, sid model.CategorySID) error
- func (svc Service) DeleteCategoryRelationBySID(ctx context.Context, sid model.CategoryRelationSID) error
- func (svc Service) DeleteCategoryTypeByCode(ctx context.Context, code string) error
- func (svc Service) DeleteComicByCode(ctx context.Context, code string) error
- func (svc Service) DeleteComicCategoryBySID(ctx context.Context, sid model.ComicCategorySID) error
- func (svc Service) DeleteComicChapterBySID(ctx context.Context, sid model.ComicChapterSID) error
- func (svc Service) DeleteComicCoverBySID(ctx context.Context, sid model.ComicGenericSID) error
- func (svc Service) DeleteComicExternalBySID(ctx context.Context, sid model.ComicGenericSID) error
- func (svc Service) DeleteComicRelationBySID(ctx context.Context, sid model.ComicRelationSID) error
- func (svc Service) DeleteComicRelationTypeByCode(ctx context.Context, code string) error
- func (svc Service) DeleteComicSynopsisBySID(ctx context.Context, sid model.ComicGenericSID) error
- func (svc Service) DeleteComicTagBySID(ctx context.Context, sid model.ComicTagSID) error
- func (svc Service) DeleteComicTitleBySID(ctx context.Context, sid model.ComicGenericSID) error
- func (svc Service) DeleteLanguageByIETF(ctx context.Context, ietf string) error
- func (svc Service) DeleteTagBySID(ctx context.Context, sid model.TagSID) error
- func (svc Service) DeleteTagTypeByCode(ctx context.Context, code string) error
- func (svc Service) DeleteWebsiteByDomain(ctx context.Context, domain string) error
- func (svc Service) ExistsComicByCode(ctx context.Context, code string) (bool, error)
- func (svc Service) GetCategoryBySID(ctx context.Context, sid model.CategorySID) (*model.Category, error)
- func (svc Service) GetCategoryRelationBySID(ctx context.Context, sid model.CategoryRelationSID) (*model.CategoryRelation, error)
- func (svc Service) GetCategoryTypeByCode(ctx context.Context, code string) (*model.CategoryType, error)
- func (svc Service) GetComicByCode(ctx context.Context, code string) (*model.Comic, error)
- func (svc Service) GetComicCategoryBySID(ctx context.Context, sid model.ComicCategorySID) (*model.ComicCategory, error)
- func (svc Service) GetComicChapterBySID(ctx context.Context, sid model.ComicChapterSID) (*model.ComicChapter, error)
- func (svc Service) GetComicCoverBySID(ctx context.Context, sid model.ComicGenericSID) (*model.ComicCover, error)
- func (svc Service) GetComicExternalBySID(ctx context.Context, sid model.ComicGenericSID) (*model.ComicExternal, error)
- func (svc Service) GetComicRelationBySID(ctx context.Context, sid model.ComicRelationSID) (*model.ComicRelation, error)
- func (svc Service) GetComicRelationTypeByCode(ctx context.Context, code string) (*model.ComicRelationType, error)
- func (svc Service) GetComicSynopsisBySID(ctx context.Context, sid model.ComicGenericSID) (*model.ComicSynopsis, error)
- func (svc Service) GetComicTagBySID(ctx context.Context, sid model.ComicTagSID) (*model.ComicTag, error)
- func (svc Service) GetComicTitleBySID(ctx context.Context, sid model.ComicGenericSID) (*model.ComicTitle, error)
- func (svc Service) GetLanguageByIETF(ctx context.Context, ietf string) (*model.Language, error)
- func (svc Service) GetTagBySID(ctx context.Context, sid model.TagSID) (*model.Tag, error)
- func (svc Service) GetTagTypeByCode(ctx context.Context, code string) (*model.TagType, error)
- func (svc Service) GetWebsiteByDomain(ctx context.Context, domain string) (*model.Website, error)
- func (svc Service) ListCategory(ctx context.Context, params model.ListParams) ([]*model.Category, error)
- func (svc Service) ListCategoryRelation(ctx context.Context, params model.ListParams) ([]*model.CategoryRelation, error)
- func (svc Service) ListCategoryType(ctx context.Context, params model.ListParams) ([]*model.CategoryType, error)
- func (svc Service) ListComic(ctx context.Context, params model.ListParams) ([]*model.Comic, error)
- func (svc Service) ListComicCategory(ctx context.Context, params model.ListParams) ([]*model.ComicCategory, error)
- func (svc Service) ListComicChapter(ctx context.Context, params model.ListParams) ([]*model.ComicChapter, error)
- func (svc Service) ListComicCover(ctx context.Context, params model.ListParams) ([]*model.ComicCover, error)
- func (svc Service) ListComicExternal(ctx context.Context, params model.ListParams) ([]*model.ComicExternal, error)
- func (svc Service) ListComicRelation(ctx context.Context, params model.ListParams) ([]*model.ComicRelation, error)
- func (svc Service) ListComicRelationType(ctx context.Context, params model.ListParams) ([]*model.ComicRelationType, error)
- func (svc Service) ListComicSynopsis(ctx context.Context, params model.ListParams) ([]*model.ComicSynopsis, error)
- func (svc Service) ListComicTag(ctx context.Context, params model.ListParams) ([]*model.ComicTag, error)
- func (svc Service) ListComicTitle(ctx context.Context, params model.ListParams) ([]*model.ComicTitle, error)
- func (svc Service) ListLanguage(ctx context.Context, params model.ListParams) ([]*model.Language, error)
- func (svc Service) ListTag(ctx context.Context, params model.ListParams) ([]*model.Tag, error)
- func (svc Service) ListTagType(ctx context.Context, params model.ListParams) ([]*model.TagType, error)
- func (svc Service) ListWebsite(ctx context.Context, params model.ListParams) ([]*model.Website, error)
- func (svc Service) UpdateCategoryBySID(ctx context.Context, sid model.CategorySID, data model.SetCategory, ...) error
- func (svc Service) UpdateCategoryRelationBySID(ctx context.Context, sid model.CategoryRelationSID, ...) error
- func (svc Service) UpdateCategoryTypeByCode(ctx context.Context, code string, data model.SetCategoryType, ...) error
- func (svc Service) UpdateComicByCode(ctx context.Context, code string, data model.SetComic, v *model.Comic) error
- func (svc Service) UpdateComicCategoryBySID(ctx context.Context, sid model.ComicCategorySID, data model.SetComicCategory, ...) error
- func (svc Service) UpdateComicChapterBySID(ctx context.Context, sid model.ComicChapterSID, data model.SetComicChapter, ...) error
- func (svc Service) UpdateComicCoverBySID(ctx context.Context, sid model.ComicGenericSID, data model.SetComicCover, ...) error
- func (svc Service) UpdateComicExternalBySID(ctx context.Context, sid model.ComicGenericSID, data model.SetComicExternal, ...) error
- func (svc Service) UpdateComicRelationBySID(ctx context.Context, sid model.ComicRelationSID, data model.SetComicRelation, ...) error
- func (svc Service) UpdateComicRelationTypeByCode(ctx context.Context, code string, data model.SetComicRelationType, ...) error
- func (svc Service) UpdateComicSynopsisBySID(ctx context.Context, sid model.ComicGenericSID, data model.SetComicSynopsis, ...) error
- func (svc Service) UpdateComicTagBySID(ctx context.Context, sid model.ComicTagSID, data model.SetComicTag, ...) error
- func (svc Service) UpdateComicTitleBySID(ctx context.Context, sid model.ComicGenericSID, data model.SetComicTitle, ...) error
- func (svc Service) UpdateLanguageByIETF(ctx context.Context, ietf string, data model.SetLanguage, v *model.Language) error
- func (svc Service) UpdateTagBySID(ctx context.Context, sid model.TagSID, data model.SetTag, v *model.Tag) error
- func (svc Service) UpdateTagTypeByCode(ctx context.Context, code string, data model.SetTagType, v *model.TagType) error
- func (svc Service) UpdateWebsiteByDomain(ctx context.Context, domain string, data model.SetWebsite, v *model.Website) 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
}
func (Service) AddCategory ¶
func (Service) AddCategoryRelation ¶
func (svc Service) AddCategoryRelation(ctx context.Context, data model.AddCategoryRelation, v *model.CategoryRelation) error
func (Service) AddCategoryType ¶
func (svc Service) AddCategoryType(ctx context.Context, data model.AddCategoryType, v *model.CategoryType) error
func (Service) AddComicCategory ¶
func (svc Service) AddComicCategory(ctx context.Context, data model.AddComicCategory, v *model.ComicCategory) error
func (Service) AddComicChapter ¶
func (svc Service) AddComicChapter(ctx context.Context, data model.AddComicChapter, v *model.ComicChapter) error
func (Service) AddComicCover ¶
func (svc Service) AddComicCover(ctx context.Context, data model.AddComicCover, v *model.ComicCover) error
func (Service) AddComicExternal ¶
func (svc Service) AddComicExternal(ctx context.Context, data model.AddComicExternal, v *model.ComicExternal) error
func (Service) AddComicRelation ¶
func (svc Service) AddComicRelation(ctx context.Context, data model.AddComicRelation, v *model.ComicRelation) error
func (Service) AddComicRelationType ¶
func (svc Service) AddComicRelationType(ctx context.Context, data model.AddComicRelationType, v *model.ComicRelationType) error
func (Service) AddComicSynopsis ¶
func (svc Service) AddComicSynopsis(ctx context.Context, data model.AddComicSynopsis, v *model.ComicSynopsis) error
func (Service) AddComicTag ¶
func (Service) AddComicTitle ¶
func (svc Service) AddComicTitle(ctx context.Context, data model.AddComicTitle, v *model.ComicTitle) error
func (Service) AddLanguage ¶
func (Service) AddTagType ¶
func (Service) AddWebsite ¶
func (Service) CountCategory ¶
func (Service) CountCategoryRelation ¶
func (Service) CountCategoryType ¶
func (Service) CountComic ¶
func (Service) CountComicCategory ¶
func (Service) CountComicChapter ¶
func (Service) CountComicCover ¶
func (Service) CountComicExternal ¶
func (Service) CountComicRelation ¶
func (Service) CountComicRelationType ¶
func (Service) CountComicSynopsis ¶
func (Service) CountComicTag ¶
func (Service) CountComicTitle ¶
func (Service) CountLanguage ¶
func (Service) CountTagType ¶
func (Service) CountWebsite ¶
func (Service) DeleteCategoryBySID ¶
func (Service) DeleteCategoryRelationBySID ¶
func (Service) DeleteCategoryTypeByCode ¶
func (Service) DeleteComicByCode ¶
func (Service) DeleteComicCategoryBySID ¶
func (Service) DeleteComicChapterBySID ¶
func (Service) DeleteComicCoverBySID ¶
func (Service) DeleteComicExternalBySID ¶
func (Service) DeleteComicRelationBySID ¶
func (Service) DeleteComicRelationTypeByCode ¶
func (Service) DeleteComicSynopsisBySID ¶
func (Service) DeleteComicTagBySID ¶
func (Service) DeleteComicTitleBySID ¶
func (Service) DeleteLanguageByIETF ¶
func (Service) DeleteTagBySID ¶
func (Service) DeleteTagTypeByCode ¶
func (Service) DeleteWebsiteByDomain ¶
func (Service) ExistsComicByCode ¶
func (Service) GetCategoryBySID ¶
func (Service) GetCategoryRelationBySID ¶
func (svc Service) GetCategoryRelationBySID(ctx context.Context, sid model.CategoryRelationSID) (*model.CategoryRelation, error)
func (Service) GetCategoryTypeByCode ¶
func (Service) GetComicByCode ¶
func (Service) GetComicCategoryBySID ¶
func (svc Service) GetComicCategoryBySID(ctx context.Context, sid model.ComicCategorySID) (*model.ComicCategory, error)
func (Service) GetComicChapterBySID ¶
func (svc Service) GetComicChapterBySID(ctx context.Context, sid model.ComicChapterSID) (*model.ComicChapter, error)
func (Service) GetComicCoverBySID ¶
func (svc Service) GetComicCoverBySID(ctx context.Context, sid model.ComicGenericSID) (*model.ComicCover, error)
func (Service) GetComicExternalBySID ¶
func (svc Service) GetComicExternalBySID(ctx context.Context, sid model.ComicGenericSID) (*model.ComicExternal, error)
func (Service) GetComicRelationBySID ¶
func (svc Service) GetComicRelationBySID(ctx context.Context, sid model.ComicRelationSID) (*model.ComicRelation, error)
func (Service) GetComicRelationTypeByCode ¶
func (Service) GetComicSynopsisBySID ¶
func (svc Service) GetComicSynopsisBySID(ctx context.Context, sid model.ComicGenericSID) (*model.ComicSynopsis, error)
func (Service) GetComicTagBySID ¶
func (Service) GetComicTitleBySID ¶
func (svc Service) GetComicTitleBySID(ctx context.Context, sid model.ComicGenericSID) (*model.ComicTitle, error)
func (Service) GetLanguageByIETF ¶
func (Service) GetTagBySID ¶
func (Service) GetTagTypeByCode ¶
func (Service) GetWebsiteByDomain ¶
func (Service) ListCategory ¶
func (Service) ListCategoryRelation ¶
func (svc Service) ListCategoryRelation(ctx context.Context, params model.ListParams) ([]*model.CategoryRelation, error)
func (Service) ListCategoryType ¶
func (svc Service) ListCategoryType(ctx context.Context, params model.ListParams) ([]*model.CategoryType, error)
func (Service) ListComicCategory ¶
func (svc Service) ListComicCategory(ctx context.Context, params model.ListParams) ([]*model.ComicCategory, error)
func (Service) ListComicChapter ¶
func (svc Service) ListComicChapter(ctx context.Context, params model.ListParams) ([]*model.ComicChapter, error)
func (Service) ListComicCover ¶
func (svc Service) ListComicCover(ctx context.Context, params model.ListParams) ([]*model.ComicCover, error)
func (Service) ListComicExternal ¶
func (svc Service) ListComicExternal(ctx context.Context, params model.ListParams) ([]*model.ComicExternal, error)
func (Service) ListComicRelation ¶
func (svc Service) ListComicRelation(ctx context.Context, params model.ListParams) ([]*model.ComicRelation, error)
func (Service) ListComicRelationType ¶
func (svc Service) ListComicRelationType(ctx context.Context, params model.ListParams) ([]*model.ComicRelationType, error)
func (Service) ListComicSynopsis ¶
func (svc Service) ListComicSynopsis(ctx context.Context, params model.ListParams) ([]*model.ComicSynopsis, error)
func (Service) ListComicTag ¶
func (Service) ListComicTitle ¶
func (svc Service) ListComicTitle(ctx context.Context, params model.ListParams) ([]*model.ComicTitle, error)
func (Service) ListLanguage ¶
func (Service) ListTagType ¶
func (Service) ListWebsite ¶
func (Service) UpdateCategoryBySID ¶
func (svc Service) UpdateCategoryBySID(ctx context.Context, sid model.CategorySID, data model.SetCategory, v *model.Category) error
func (Service) UpdateCategoryRelationBySID ¶
func (svc Service) UpdateCategoryRelationBySID(ctx context.Context, sid model.CategoryRelationSID, data model.SetCategoryRelation, v *model.CategoryRelation) error
func (Service) UpdateCategoryTypeByCode ¶
func (svc Service) UpdateCategoryTypeByCode(ctx context.Context, code string, data model.SetCategoryType, v *model.CategoryType) error
func (Service) UpdateComicByCode ¶
func (Service) UpdateComicCategoryBySID ¶
func (svc Service) UpdateComicCategoryBySID(ctx context.Context, sid model.ComicCategorySID, data model.SetComicCategory, v *model.ComicCategory) error
func (Service) UpdateComicChapterBySID ¶
func (svc Service) UpdateComicChapterBySID(ctx context.Context, sid model.ComicChapterSID, data model.SetComicChapter, v *model.ComicChapter) error
func (Service) UpdateComicCoverBySID ¶
func (svc Service) UpdateComicCoverBySID(ctx context.Context, sid model.ComicGenericSID, data model.SetComicCover, v *model.ComicCover) error
func (Service) UpdateComicExternalBySID ¶
func (svc Service) UpdateComicExternalBySID(ctx context.Context, sid model.ComicGenericSID, data model.SetComicExternal, v *model.ComicExternal) error
func (Service) UpdateComicRelationBySID ¶
func (svc Service) UpdateComicRelationBySID(ctx context.Context, sid model.ComicRelationSID, data model.SetComicRelation, v *model.ComicRelation) error
func (Service) UpdateComicRelationTypeByCode ¶
func (svc Service) UpdateComicRelationTypeByCode(ctx context.Context, code string, data model.SetComicRelationType, v *model.ComicRelationType) error
func (Service) UpdateComicSynopsisBySID ¶
func (svc Service) UpdateComicSynopsisBySID(ctx context.Context, sid model.ComicGenericSID, data model.SetComicSynopsis, v *model.ComicSynopsis) error
func (Service) UpdateComicTagBySID ¶
func (svc Service) UpdateComicTagBySID(ctx context.Context, sid model.ComicTagSID, data model.SetComicTag, v *model.ComicTag) error
func (Service) UpdateComicTitleBySID ¶
func (svc Service) UpdateComicTitleBySID(ctx context.Context, sid model.ComicGenericSID, data model.SetComicTitle, v *model.ComicTitle) error
func (Service) UpdateLanguageByIETF ¶
func (Service) UpdateTagBySID ¶
func (Service) UpdateTagTypeByCode ¶
Click to show internal directories.
Click to hide internal directories.