jsonspec

package
v0.0.0-...-1acd2bc Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: Unlicense Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	ProjectID int  `json:"projectID"`
	FileID    int  `json:"fileID"`
	Required  bool `json:"required"`
}

type Manifest

type Manifest struct {
	ManifestType    string `json:"manifestType"`
	ManifestVersion int    `json:"manifestVersion"`

	Minecraft MinecraftInstance `json:"minecraft"`

	Name      string `json:"name"`
	Version   string `json:"version"`
	Author    string `json:"author"`
	Desc      string `json:"description"`
	ProjectID int    `json:"projectID"`

	Files     []File `json:"files"`
	Overrides string `json:"overrides"`
}

type MinecraftInstance

type MinecraftInstance struct {
	Version    string      `json:"version"`
	ModLoaders []ModLoader `json:"modLoaders"`
}

type ModLoader

type ModLoader struct {
	ID      string `json:"id"`
	Primary bool   `json:"primary"`
}

Jump to

Keyboard shortcuts

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