Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func EncryptAndSave ¶
func EncryptAndSave(auth *CachedAuth, username string, secretKey *[32]byte) error
func GeneratePassword ¶
func ListUsernames ¶ added in v0.2.0
Types ¶
type CachedAuth ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(newClient func() *protonmail.Client) *Manager
func (*Manager) Auth ¶
func (m *Manager) Auth(username, password string) (*protonmail.Client, openpgp.EntityList, error)
Click to show internal directories.
Click to hide internal directories.