modinfo

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package modinfo provides mod information used in Forge ping responses.

Index

Constants

This section is empty.

Variables

View Source
var Default = &ModInfo{Type: "FML"}

Functions

This section is empty.

Types

type Mod

type Mod struct {
	ID      string `json:"modid"`
	Version string `json:"version"`
}

Mod represents a mod.

type ModInfo

type ModInfo struct {
	Type string `json:"type"`
	Mods []Mod  `json:"modList"`
}

ModInfo represents a mod info.

Jump to

Keyboard shortcuts

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