account

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Destroy

func Destroy(acc accounts.Account) (err error)

Destroy an account

func Export

func Export(acc accounts.Account, password string, newPassword string, path string) (err error)

Export a given account to a file

func Generate

func Generate(password string) (acc accounts.Account, err error)

Generate create a new account based on a password

func Import

func Import(filePath string, password string, newPassword string) (acc accounts.Account, err error)

Import a file and return a Account object

func List

func List() (accountList []accounts.Account)

List all available accounts on this computer

Types

This section is empty.

Jump to

Keyboard shortcuts

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