account

package
v0.0.0-...-f1100e8 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNilAccount = errors.New("account is nil")

Functions

func WriteProperties

func WriteProperties(account *accounts.Account, properties Properties) error

Types

type Properties

type Properties struct {
	ID       string `mapstructure:"minecraft:id"`       // Minecraft account ID.
	Username string `mapstructure:"minecraft:username"` // Minecraft account username.
}

Properties represents Minecraft account properties.

func ReadProperties

func ReadProperties(account *accounts.Account) (properties Properties, err error)

Jump to

Keyboard shortcuts

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