mdata

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Store(ctx context.Context, mdata *domain.BackupData) (*domain.BackupData, error)
	Delete(ctx context.Context, id int) error
	Update(ctx context.Context, mdata *domain.BackupData) (*domain.BackupData, error)
	ListMangaData(ctx context.Context, apiKey string) ([]domain.BackupData, error)
	GetMangaDataByApiKey(ctx context.Context, apiKey string) (*domain.BackupData, error)
}

func NewService

func NewService(log logger.Logger, repo domain.MangaDataRepo) Service

Jump to

Keyboard shortcuts

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