Documentation ¶
Overview ¶
package config manages config data for the gopher.farm cli
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Creds ¶
type Creds struct {
Key *ed25519.PrivateKey
}
Creds holds the gopher.farm credentials
func ReadCreds ¶
ReadCreds reads the credentials from the config file on disk
func (*Creds) PrivateKey ¶
func (c *Creds) PrivateKey() *ed25519.PrivateKey
PrivateKey gets the private key credential from Creds
Click to show internal directories.
Click to hide internal directories.