Documentation ¶
Index ¶
- func NewGoogleTTSClient(httpClient HTTPClient, apiKey string) service.SynthesizerClient
- func NewNoneTransactionManager(rf service.RepositoryFactory) (service.TransactionManager, error)
- func NewTransactionManager(db *gorm.DB, rff RepositoryFactoryFunc) (service.TransactionManager, error)
- type AudioFile
- type HTTPClient
- type RepositoryFactory
- type RepositoryFactoryFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGoogleTTSClient ¶
func NewGoogleTTSClient(httpClient HTTPClient, apiKey string) service.SynthesizerClient
func NewNoneTransactionManager ¶
func NewNoneTransactionManager(rf service.RepositoryFactory) (service.TransactionManager, error)
func NewTransactionManager ¶
func NewTransactionManager(db *gorm.DB, rff RepositoryFactoryFunc) (service.TransactionManager, error)
Types ¶
type RepositoryFactory ¶
type RepositoryFactory struct {
// contains filtered or unexported fields
}
func NewRepositoryFactory ¶
func NewRepositoryFactory(ctx context.Context, dialect rslibgateway.DialectRDBMS, driverName string, db *gorm.DB, location *time.Location) (*RepositoryFactory, error)
func (*RepositoryFactory) NewAudioRepository ¶
func (f *RepositoryFactory) NewAudioRepository(ctx context.Context) service.AudioRepository
type RepositoryFactoryFunc ¶
Click to show internal directories.
Click to hide internal directories.