Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyPair ¶
type KeyPair struct { Public string `json:"public"` Private string `json:"private,omitempty"` // contains filtered or unexported fields }
func New ¶
New will generate a new key pair, or reload a keypair from a public key or a public-private key pair.
Click to show internal directories.
Click to hide internal directories.