Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteToFile ¶
WriteToFile encodes an account container to a file.
Types ¶
type Container ¶
type Container struct {
PublicKey string `json:"public"`
EncryptedPrivateKey string `json:"private"`
}
Container is a serializable wrapper for encrypted private keys.
func ReadFromFile ¶
ReadFromFile decodes an account container from file.
Click to show internal directories.
Click to hide internal directories.