manifiesta

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: MIT Imports: 0 Imported by: 0

README

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File added in v0.0.4

type File struct {
	Path    string   `json:"path" bson:"path"`
	Size    int64    `json:"size" bson:"size"`
	SHA256  string   `json:"sha256" bson:"sha256"`
	Sources []Source `json:"sources" bson:"sources"`
}

type Manifest added in v0.0.2

type Manifest struct {
	Metadata `bson:",inline"`
	Files    []File `json:"files" bson:"files"`
}

type Metadata added in v0.0.4

type Metadata struct {
	Name          string `json:"name" bson:"name"`
	ManifiestaURL string `json:"manifiesta_url,omitempty" bson:"-"`
	Title         string `json:"title" bson:"title"`
	Desc          string `json:"desc" bson:"desc"`
	Version       string `json:"version" bson:"version"`
	WelcomeURL    string `json:"welcome_url,omitempty" bson:"welcome_url,omitempty"`
	SupportURL    string `json:"support_url,omitempty" bson:"support_url,omitempty"`
	BannerURL     string `json:"banner_url,omitempty" bson:"banner_url,omitempty"`
	BasePath      string `json:"base_path,omitempty" bson:"-"`
	LaunchPath    string `json:"launch_path" bson:"launch_path"`
	LaunchEnv     string `json:"launch_env" bson:"launch_env"`
	LaunchArgs    string `json:"launch_args" bson:"launch_args"`
}

type Source added in v0.0.4

type Source struct {
	URL string `json:"url" bson:"url"`
}

Directories

Path Synopsis
cmd
srv
sql

Jump to

Keyboard shortcuts

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