manifest

package
v0.32.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifact

type Artifact interface {
	Write(io.Writer) error
	Mime() string
}

type Entry

type Entry struct {
	Metadata map[string]any `json:"metadata"`
	Artifact Artifact       `json:"-"`
}

type Manifest

type Manifest struct {
	Main    string           `json:"main"`
	Entries map[string]Entry `json:"entries"`
}

func SingleEntryManifest

func SingleEntryManifest(name string, entry Entry) Manifest

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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