repository

package
v0.18.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	GetPages(ctx context.Context, apLimit int, apContinue string) ([]entity.Page, string, int, error)
	GetPageByID(ctx context.Context, id int64) (*entity.Page, int, error)
	GetPageImageByID(ctx context.Context, id int64) (*entity.PageImage, int, error)
	GetCategoryMembers(ctx context.Context, cmTitle string, cmLimit int, cmContinue string) ([]entity.CategoryMember, string, int, error)
	GetImageInfo(ctx context.Context, imageName string) (string, int, error)
	GetPageCategories(ctx context.Context, id int64, clLimit int, clContinue string) ([]entity.PageCategory, string, int, error)

	GetImage(ctx context.Context, path string) ([]byte, int, error)
}

Repository contains functions for wikia domain.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL