Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Definitions = ViewerDefinitions{ "iiifzoomviewer": { Type: "image", Subtype: "", // contains filtered or unexported fields }, "videoviewer": { Type: "video", Subtype: "", // contains filtered or unexported fields }, "audioviewer": { Type: "audio", Subtype: "", // contains filtered or unexported fields }, "pdfviewer": { Type: "text", Subtype: "pdf", // contains filtered or unexported fields }, "foliateviewer": { Type: "text", Subtype: "epub", // contains filtered or unexported fields }, "replaywebviewer": { Type: "archive", Subtype: "wacz", // contains filtered or unexported fields }, "replay": { Type: "archive", Subtype: "wacz", // contains filtered or unexported fields }, }
Functions ¶
func NewActionService ¶
func NewActionService(adClients map[string]mediaserverproto.ActionDispatcherClient, instance string, domains []string, concurrency, queueSize uint32, refreshErrorTimeout time.Duration, vfs fs.FS, dbs map[string]mediaserverproto.DatabaseClient, iiif string, logger zLogger.ZLogger) (*viewerAction, error)
Types ¶
type ViewerDefinition ¶
type ViewerDefinitions ¶
type ViewerDefinitions map[string]*ViewerDefinition
func (ViewerDefinitions) StringListByType ¶
func (vd ViewerDefinitions) StringListByType(t string) map[string]*generic.StringList
func (ViewerDefinitions) StringListMap ¶
func (vd ViewerDefinitions) StringListMap() map[string]*mediaserverproto.StringListMap
Click to show internal directories.
Click to hide internal directories.