Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDatabase ¶
func NewDatabase(conMan *sqlutil.Connections, dbProperties *config.DatabaseOptions) (*shared.Database, error)
NewDatabase opens a postgres database.
func NewPostgresMediaRepositoryTable ¶
func NewPostgresMediaRepositoryTable(db *sql.DB) (tables.MediaRepository, error)
func NewPostgresThumbnailsTable ¶
func NewPostgresThumbnailsTable(db *sql.DB) (tables.Thumbnails, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.