metadata

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoProvide

func AutoProvide(metadata interface{}) (map[string]interface{}, *data.Error)

func CheckCustomMeta

func CheckCustomMeta(
	provided interface{},
	expected map[string]interface{},
	currentKey string,
) *data.Error

func CheckIntegrity

func CheckIntegrity(metadata interface{}) (*fileMetadata, *data.Error)

Types

type GeneralData

type GeneralData struct {
	Size             uint64 `json:"size"`
	CreationTime     uint64 `json:"creation_time"`
	ModificationTime uint64 `json:"modification_time"`
	Format           string `json:"format"`
	Name             string `json:"name"`
}

Jump to

Keyboard shortcuts

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