types

package
v1.0.79 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIError

type APIError struct {
	ResponseCode int
}

func (*APIError) Error

func (e *APIError) Error() string

type HttpRequestBody_Status

type HttpRequestBody_Status struct {
	Online             bool    `json:"online"`
	Installed          bool    `json:"installed"`
	Running            bool    `json:"running"`
	CPU                float64 `json:"cpu"`
	MEM                float32 `json:"mem"`
	InstalledSFVersion int64   `json:"installedSFVersion"`
	LatestSFVersion    int64   `json:"latestSFVersion"`
}

type HttpResponseBody

type HttpResponseBody struct {
	Success bool        `json:"success"`
	Error   string      `json:"error"`
	Data    interface{} `json:"data"`
}

type HttpResponseBody_SaveSync

type HttpResponseBody_SaveSync struct {
	Saves []HttpResponseBody_SaveSync_Save `json:"saves"`
}

type HttpResponseBody_SaveSync_Save

type HttpResponseBody_SaveSync_Save struct {
	UUID            string    `json:"uuid"`
	FileName        string    `json:"fileName"`
	FilePath        string    `json:"-"`
	Size            int64     `json:"size"`
	ModTime         time.Time `json:"modTime"`
	MarkForUpload   bool      `json:"-"`
	MarkForDownload bool      `json:"-"`
}

type InstalledMod

type InstalledMod struct {
	ModReference    string
	ModPath         string
	ModDisplayName  string `json:"FriendlyName"`
	ModUPluginPath  string
	ModVersion      string `json:"SemVersion"`
	ShouldUninstall bool
}

type UPluginFile

type UPluginFile struct {
	SemVersion string `json:"SemVersion"`
}

Jump to

Keyboard shortcuts

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