metadata

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:     "metadata",
	Requires: []*analysis.Analyzer{archive.Analyzer},
	Run:      run,
	Rules:    []*analysis.Rule{missingMetadata},
}

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	ID         string       `json:"id"`
	Name       string       `json:"name"`
	Type       string       `json:"type"`
	Info       MetadataInfo `json:"info"`
	Executable string       `json:"executable"`
	Backend    bool         `json:"backend"`
}

type MetadataAuthor

type MetadataAuthor struct {
	URL string `json:"url"`
}

type MetadataInfo

type MetadataInfo struct {
	Author      MetadataAuthor        `json:"author"`
	Screenshots []MetadataScreenshots `json:"screenshots"`
	Logos       MetadataLogos         `json:"logos"`
	Links       []MetadataLink        `json:"links"`
	Version     string                `json:"version"`
}
type MetadataLink struct {
	Name string `json:"name"`
	URL  string `json:"url"`
}

type MetadataLogos

type MetadataLogos struct {
	Small string `json:"small"`
	Large string `json:"large"`
}

type MetadataScreenshots

type MetadataScreenshots struct {
	Name string `json:"name"`
	Path string `json:"path"`
}

Jump to

Keyboard shortcuts

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