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

View Source
const AccountType = "offline"

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 {
	Username string `mapstructure:"offline:username"` // Name of the account.
}

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