templating

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTemplate

func GetTemplate(name string) (*template.Template, error)

Types

type ExportIndexMediaModel

type ExportIndexMediaModel struct {
	ExportID        string
	ArchivedName    string
	FileName        string
	Origin          string
	MediaID         string
	SizeBytes       int64
	SizeBytesHuman  string
	UploadTs        int64
	UploadDateHuman string
	Sha256Hash      string
	ContentType     string
	Uploader        string
}

type ExportIndexModel

type ExportIndexModel struct {
	ExportID string
	Entity   string
	Media    []*ExportIndexMediaModel
}

type ViewExportModel

type ViewExportModel struct {
	ExportID    string
	Entity      string
	ExportParts []*ViewExportPartModel
}

type ViewExportPartModel

type ViewExportPartModel struct {
	ExportID       string
	Index          int
	SizeBytes      int64
	SizeBytesHuman string
	FileName       string
}

Jump to

Keyboard shortcuts

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