dblocker

package
v0.0.0-...-55040bd Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: GPL-3.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 DBLocker

type DBLocker struct {
	DB *sql.DB
}

func GetDBLockerInstance

func GetDBLockerInstance() *DBLocker

func (DBLocker) GetDatabaseVersion

func (c DBLocker) GetDatabaseVersion() model.DatabaseVersion

func (DBLocker) GetExams

func (c DBLocker) GetExams() []model.Exam

func (DBLocker) GetImage

func (c DBLocker) GetImage(questionUuid string) []byte

func (DBLocker) GetQuestions

func (c DBLocker) GetQuestions() ([]model.Question, error)

Jump to

Keyboard shortcuts

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