mediathek

package
v2.0.0-...-8860fe1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MediathekMapper

type MediathekMapper struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewMediathekMapper

func NewMediathekMapper(db *sql.DB,
	boxImageFS fs.FS,
	siteViewerLink string,
	logger *logging.Logger) (*MediathekMapper, error)

func (*MediathekMapper) GetBarcode

func (mm *MediathekMapper) GetBarcode(signature, docID, barcode string) (imgData []byte, mime string, err error)

func (*MediathekMapper) GetData

func (mm *MediathekMapper) GetData(signature string) (barcode string, docID string, box string, err error)

func (*MediathekMapper) GetImage

func (mm *MediathekMapper) GetImage(signature string) (imgData []byte, mime string, err error)

func (*MediathekMapper) GetSystematik

func (mm *MediathekMapper) GetSystematik(box string) (sys string, err error)

func (*MediathekMapper) GetSystematikHierarchy

func (mm *MediathekMapper) GetSystematikHierarchy(sys string) (map[string]map[string]bridge.Class, error)

func (*MediathekMapper) Init

func (mm *MediathekMapper) Init() error

func (*MediathekMapper) SetData

func (mm *MediathekMapper) SetData(signature, docID, barcode, projectID string) error

Jump to

Keyboard shortcuts

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