Documentation ¶
Index ¶
- type Service
- func (svc Service) AddComic(ctx context.Context, data model.AddComic, v *model.Comic) error
- func (svc Service) AddComicChapter(ctx context.Context, data model.AddComicChapter, v *model.ComicChapter) error
- func (svc Service) AddComicChapterLink(ctx context.Context, data model.AddComicChapterLink, v *model.ComicChapterLink) error
- func (svc Service) AddComicLink(ctx context.Context, data model.AddComicLink, v *model.ComicLink) error
- func (svc Service) AddLanguage(ctx context.Context, data model.AddLanguage, v *model.Language) error
- func (svc Service) AddLink(ctx context.Context, data model.AddLink, v *model.Link) error
- func (svc Service) AddLinkTLLanguage(ctx context.Context, data model.AddLinkTLLanguage, v *model.LinkTLLanguage) error
- func (svc Service) AddWebsite(ctx context.Context, data model.AddWebsite, v *model.Website) error
- func (svc Service) AddWebsiteTLLanguage(ctx context.Context, data model.AddWebsiteTLLanguage, ...) error
- func (svc Service) CountComic(ctx context.Context, conds any) (int, error)
- func (svc Service) CountComicChapter(ctx context.Context, conds any) (int, error)
- func (svc Service) CountComicChapterLink(ctx context.Context, conds any) (int, error)
- func (svc Service) CountComicLink(ctx context.Context, conds any) (int, error)
- func (svc Service) CountLanguage(ctx context.Context, conds any) (int, error)
- func (svc Service) CountLink(ctx context.Context, conds any) (int, error)
- func (svc Service) CountLinkTLLanguage(ctx context.Context, conds any) (int, error)
- func (svc Service) CountWebsite(ctx context.Context, conds any) (int, error)
- func (svc Service) CountWebsiteTLLanguage(ctx context.Context, conds any) (int, error)
- func (svc Service) DeleteComicByCode(ctx context.Context, code string) error
- func (svc Service) DeleteComicChapterBySID(ctx context.Context, sid model.ComicChapterSID) error
- func (svc Service) DeleteComicChapterLinkBySID(ctx context.Context, sid model.ComicChapterLinkSID) error
- func (svc Service) DeleteComicLinkBySID(ctx context.Context, sid model.ComicLinkSID) error
- func (svc Service) DeleteLanguageByIETF(ctx context.Context, ietf string) error
- func (svc Service) DeleteLinkBySID(ctx context.Context, sid model.LinkSID) error
- func (svc Service) DeleteLinkTLLanguageBySID(ctx context.Context, sid model.LinkTLLanguageSID) error
- func (svc Service) DeleteWebsiteByDomain(ctx context.Context, domain string) error
- func (svc Service) DeleteWebsiteTLLanguageBySID(ctx context.Context, sid model.WebsiteTLLanguageSID) error
- func (svc Service) ExistsComicByCode(ctx context.Context, code string) (bool, error)
- func (svc Service) ExistsComicChapterBySID(ctx context.Context, sid model.ComicChapterSID) (bool, error)
- func (svc Service) GetComicByCode(ctx context.Context, code string) (*model.Comic, error)
- func (svc Service) GetComicChapterBySID(ctx context.Context, sid model.ComicChapterSID) (*model.ComicChapter, error)
- func (svc Service) GetComicChapterLinkBySID(ctx context.Context, sid model.ComicChapterLinkSID) (*model.ComicChapterLink, error)
- func (svc Service) GetComicLinkBySID(ctx context.Context, sid model.ComicLinkSID) (*model.ComicLink, error)
- func (svc Service) GetLanguageByID(ctx context.Context, id uint) (*model.Language, error)
- func (svc Service) GetLanguageByIETF(ctx context.Context, ietf string) (*model.Language, error)
- func (svc Service) GetLinkBySID(ctx context.Context, sid model.LinkSID) (*model.Link, error)
- func (svc Service) GetLinkTLLanguageBySID(ctx context.Context, sid model.LinkTLLanguageSID) (*model.LinkTLLanguage, error)
- func (svc Service) GetWebsiteByDomain(ctx context.Context, domain string) (*model.Website, error)
- func (svc Service) GetWebsiteTLLanguageBySID(ctx context.Context, sid model.WebsiteTLLanguageSID) (*model.WebsiteTLLanguage, error)
- func (svc Service) ListComic(ctx context.Context, params model.ListParams) ([]*model.Comic, error)
- func (svc Service) ListComicChapter(ctx context.Context, params model.ListParams) ([]*model.ComicChapter, error)
- func (svc Service) ListComicChapterLink(ctx context.Context, params model.ListParams) ([]*model.ComicChapterLink, error)
- func (svc Service) ListComicLink(ctx context.Context, params model.ListParams) ([]*model.ComicLink, error)
- func (svc Service) ListLanguage(ctx context.Context, params model.ListParams) ([]*model.Language, error)
- func (svc Service) ListLink(ctx context.Context, params model.ListParams) ([]*model.Link, error)
- func (svc Service) ListLinkTLLanguage(ctx context.Context, params model.ListParams) ([]*model.LinkTLLanguage, error)
- func (svc Service) ListWebsite(ctx context.Context, params model.ListParams) ([]*model.Website, error)
- func (svc Service) ListWebsiteTLLanguage(ctx context.Context, params model.ListParams) ([]*model.WebsiteTLLanguage, error)
- func (svc Service) UpdateComicByCode(ctx context.Context, code string, data model.SetComic, v *model.Comic) error
- func (svc Service) UpdateComicChapterBySID(ctx context.Context, sid model.ComicChapterSID, data model.SetComicChapter, ...) error
- func (svc Service) UpdateComicChapterLinkBySID(ctx context.Context, sid model.ComicChapterLinkSID, ...) error
- func (svc Service) UpdateComicLinkBySID(ctx context.Context, sid model.ComicLinkSID, data model.SetComicLink, ...) error
- func (svc Service) UpdateLanguageByIETF(ctx context.Context, ietf string, data model.SetLanguage, v *model.Language) error
- func (svc Service) UpdateLinkBySID(ctx context.Context, sid model.LinkSID, data model.SetLink, v *model.Link) error
- func (svc Service) UpdateLinkTLLanguageBySID(ctx context.Context, sid model.LinkTLLanguageSID, data model.SetLinkTLLanguage, ...) error
- func (svc Service) UpdateWebsiteByDomain(ctx context.Context, domain string, data model.SetWebsite, v *model.Website) error
- func (svc Service) UpdateWebsiteTLLanguageBySID(ctx context.Context, sid model.WebsiteTLLanguageSID, ...) 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) AddComicChapter ¶
func (svc Service) AddComicChapter(ctx context.Context, data model.AddComicChapter, v *model.ComicChapter) error
func (Service) AddComicChapterLink ¶
func (svc Service) AddComicChapterLink(ctx context.Context, data model.AddComicChapterLink, v *model.ComicChapterLink) error
func (Service) AddComicLink ¶
func (Service) AddLanguage ¶
func (Service) AddLinkTLLanguage ¶
func (svc Service) AddLinkTLLanguage(ctx context.Context, data model.AddLinkTLLanguage, v *model.LinkTLLanguage) error
func (Service) AddWebsite ¶
func (Service) AddWebsiteTLLanguage ¶
func (svc Service) AddWebsiteTLLanguage(ctx context.Context, data model.AddWebsiteTLLanguage, v *model.WebsiteTLLanguage) error
func (Service) CountComic ¶
func (Service) CountComicChapter ¶
func (Service) CountComicChapterLink ¶
func (Service) CountComicLink ¶
func (Service) CountLanguage ¶
func (Service) CountLinkTLLanguage ¶
func (Service) CountWebsite ¶
func (Service) CountWebsiteTLLanguage ¶
func (Service) DeleteComicByCode ¶
func (Service) DeleteComicChapterBySID ¶
func (Service) DeleteComicChapterLinkBySID ¶
func (Service) DeleteComicLinkBySID ¶
func (Service) DeleteLanguageByIETF ¶
func (Service) DeleteLinkBySID ¶
func (Service) DeleteLinkTLLanguageBySID ¶
func (Service) DeleteWebsiteByDomain ¶
func (Service) DeleteWebsiteTLLanguageBySID ¶
func (Service) ExistsComicByCode ¶
func (Service) ExistsComicChapterBySID ¶
func (Service) GetComicByCode ¶
func (Service) GetComicChapterBySID ¶
func (svc Service) GetComicChapterBySID(ctx context.Context, sid model.ComicChapterSID) (*model.ComicChapter, error)
func (Service) GetComicChapterLinkBySID ¶
func (svc Service) GetComicChapterLinkBySID(ctx context.Context, sid model.ComicChapterLinkSID) (*model.ComicChapterLink, error)
func (Service) GetComicLinkBySID ¶
func (Service) GetLanguageByID ¶
func (Service) GetLanguageByIETF ¶
func (Service) GetLinkBySID ¶
func (Service) GetLinkTLLanguageBySID ¶
func (svc Service) GetLinkTLLanguageBySID(ctx context.Context, sid model.LinkTLLanguageSID) (*model.LinkTLLanguage, error)
func (Service) GetWebsiteByDomain ¶
func (Service) GetWebsiteTLLanguageBySID ¶
func (svc Service) GetWebsiteTLLanguageBySID(ctx context.Context, sid model.WebsiteTLLanguageSID) (*model.WebsiteTLLanguage, error)
func (Service) ListComicChapter ¶
func (svc Service) ListComicChapter(ctx context.Context, params model.ListParams) ([]*model.ComicChapter, error)
func (Service) ListComicChapterLink ¶
func (svc Service) ListComicChapterLink(ctx context.Context, params model.ListParams) ([]*model.ComicChapterLink, error)
func (Service) ListComicLink ¶
func (Service) ListLanguage ¶
func (Service) ListLinkTLLanguage ¶
func (svc Service) ListLinkTLLanguage(ctx context.Context, params model.ListParams) ([]*model.LinkTLLanguage, error)
func (Service) ListWebsite ¶
func (Service) ListWebsiteTLLanguage ¶
func (svc Service) ListWebsiteTLLanguage(ctx context.Context, params model.ListParams) ([]*model.WebsiteTLLanguage, error)
func (Service) UpdateComicByCode ¶
func (Service) UpdateComicChapterBySID ¶
func (svc Service) UpdateComicChapterBySID(ctx context.Context, sid model.ComicChapterSID, data model.SetComicChapter, v *model.ComicChapter) error
func (Service) UpdateComicChapterLinkBySID ¶
func (svc Service) UpdateComicChapterLinkBySID(ctx context.Context, sid model.ComicChapterLinkSID, data model.SetComicChapterLink, v *model.ComicChapterLink) error
func (Service) UpdateComicLinkBySID ¶
func (svc Service) UpdateComicLinkBySID(ctx context.Context, sid model.ComicLinkSID, data model.SetComicLink, v *model.ComicLink) error
func (Service) UpdateLanguageByIETF ¶
func (Service) UpdateLinkBySID ¶
func (Service) UpdateLinkTLLanguageBySID ¶
func (svc Service) UpdateLinkTLLanguageBySID(ctx context.Context, sid model.LinkTLLanguageSID, data model.SetLinkTLLanguage, v *model.LinkTLLanguage) error
func (Service) UpdateWebsiteByDomain ¶
func (Service) UpdateWebsiteTLLanguageBySID ¶
func (svc Service) UpdateWebsiteTLLanguageBySID(ctx context.Context, sid model.WebsiteTLLanguageSID, data model.SetWebsiteTLLanguage, v *model.WebsiteTLLanguage) error
Click to show internal directories.
Click to hide internal directories.