Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrProfileNotFound = errors.New("profile not found")
Functions ¶
func ConfigPath ¶ added in v0.5.0
func ConfigPath() string
ConfigPath returns the path to the config file.
Types ¶
type Profile ¶
type Profile struct {
Redeemed bool `json:"redeemed"`
AccountID string `json:"account_id"`
DisplayName string `json:"account_display_name"`
DeviceName string `json:"-"`
LiveAPIKey string `json:"livemode_key_secret"`
LivePublishableKey string `json:"livemode_key_publishable"`
TestAPIKey string `json:"testmode_key_secret"`
TestPublishableKey string `json:"testmode_key_publishable"`
Source string `json:"-"`
}
Click to show internal directories.
Click to hide internal directories.