model

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AccessToken

type AccessToken struct {
	Username string
	UUID     string
	Token    string
}

func (*AccessToken) String

func (t *AccessToken) String() string

type Account

type Account struct {
	UUID     string
	Username string
}

func (*Account) String

func (a *Account) String() string

type JavaInstallation

type JavaInstallation struct {
	Name    string
	Path    string
	Version int
}

func (*JavaInstallation) String

func (i *JavaInstallation) String() string

type JavaInstallationList

type JavaInstallationList []*JavaInstallation

func (JavaInstallationList) String

func (l JavaInstallationList) String() string

type LoginPrompt

type LoginPrompt struct {
	Url  string
	Code string
}

func (*LoginPrompt) String

func (p *LoginPrompt) String() string

type Profile

type Profile struct {
	Name      string
	Directory string

	Type    ProfileType
	Version string
}

func (*Profile) String

func (p *Profile) String() string

type ProfileList

type ProfileList []*Profile

func (ProfileList) String

func (l ProfileList) String() string

type ProfileType

type ProfileType string
const (
	ProfileTypeVanilla ProfileType = "vanilla"
	ProfileTypeFabric  ProfileType = "fabric"
)

type Version

type Version struct {
	Tag      string
	Commit   string
	State    string
	Date     string
	Go       string
	Platform string
}

func (*Version) String

func (v *Version) String() string

Jump to

Keyboard shortcuts

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