mdata

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 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.MangaData) (*domain.MangaData, error)
	Delete(ctx context.Context, id int) error
	Update(ctx context.Context, mdata *domain.MangaData) (*domain.MangaData, error)
	ListMangaData(ctx context.Context, apiKey string) ([]domain.MangaData, error)
	GetMangaDataByApiKey(ctx context.Context, apiKey string) (*domain.MangaData, 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