gml

package
v0.0.0-...-2d704fa Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListDownloadType

func ListDownloadType(Type string) ([]string, error)

func ListDownloadVersion

func ListDownloadVersion(VerType, Type string) ([]string, error)

func ListVersion

func ListVersion(path string) ([]string, error)

Types

type Down

type Down struct {
	Atype   string
	Downint int

	Ok            func(int, int)
	Fail          func(string)
	Minecraftpath string
	// contains filtered or unexported fields
}

func NewDown

func NewDown(Type, Minecraftpath string, downInt int, Fail func(string), Ok func(int, int)) *Down

func (*Down) Check

func (d *Down) Check(cxt context.Context, version string) error

func (*Down) Download

func (d *Down) Download(cxt context.Context, version string) error

type Launcher

type Launcher struct {
	launcher.Gameinfo
	Independent bool
}

func (*Launcher) GenCmdArgs

func (f *Launcher) GenCmdArgs() ([]string, error)

Jump to

Keyboard shortcuts

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