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)
Click to show internal directories.
Click to hide internal directories.