usecase

package
v0.0.0-...-e0d14af Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminUsecase

type AdminUsecase interface {
}

func NewAdminUsecase

func NewAdminUsecase(rfFunc service.RepositoryFactoryFunc) AdminUsecase

type UserUsecase

type UserUsecase interface {
	Synthesize(ctx context.Context, lang2 domain.Lang2, text string) (service.Audio, error)

	FindAudioByAudioID(ctx context.Context, audioID domain.AudioID) (service.Audio, error)
}

func NewUserUsecase

func NewUserUsecase(db *gorm.DB, rfFunc service.RepositoryFactoryFunc, synthesizerClient service.SynthesizerClient) UserUsecase

Jump to

Keyboard shortcuts

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