Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { GetVtuberByID(ctx context.Context, id int64) (*vtuber, int, error) GetVtuberImages(ctx context.Context, shuffle bool, limit int) ([]vtuberImage, int, error) GetVtuberFamilyTrees(ctx context.Context) (*vtuberFamilyTree, int, error) GetVtuberAgencyTrees(ctx context.Context) (*vtuberAgencyTree, int, error) GetWikiaImage(ctx context.Context, path string) ([]byte, int, error) ConsumeMessage(ctx context.Context, msg entity.Message) error QueueMissingAgency(ctx context.Context) (int, int, error) QueueMissingVtuber(ctx context.Context) (int, int, error) QueueOldAgency(ctx context.Context) (int, int, error) QueueOldVtuber(ctx context.Context) (int, int, error) }
Service contains functions for service.
func New ¶
func New( wikia wikiaRepository.Repository, vtuber vtuberRepository.Repository, nonVtuber nonVtuberRepository.Repository, agency agencyRepository.Repository, publisher publisherRepository.Repository, ) Service
New to create new service.
Click to show internal directories.
Click to hide internal directories.