store

package
v0.0.0-...-1e50175 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	AlbumStore        album.Store
	UserInfoStore     userinfo.Store
	MediaStore        media.Store
	UserMediaBindings usermediabindings.Store
	MediaMetadata     mediametadata.Store
	UploadRequests    uploadrequests.Store
	// contains filtered or unexported fields
}

each service will have all the stores available

func NewStore

func NewStore(db *gorm.DB, cache *redis.Client, minio *minio.Client) (*Store, error)

func (*Store) CreateTransaction

func (s *Store) CreateTransaction() *gorm.DB

Jump to

Keyboard shortcuts

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