Documentation
¶
Index ¶
- func AccountDNE(hostname, email string) error
- func GetManagers() []string
- func Register(name string, regFunc RegisterFunc)
- func TestGetAllPasswords(t *testing.T)
- func TestLoginWithCorrectPassword(t *testing.T)
- func TestLoginWithNonExistantEmail(t *testing.T)
- func TestLoginWithWrongPassword(t *testing.T)
- func TestSaveNewPassword(t *testing.T)
- type Manager
- type RegisterFunc
- type Site
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountDNE ¶
func GetManagers ¶
func GetManagers() []string
func Register ¶
func Register(name string, regFunc RegisterFunc)
func TestGetAllPasswords ¶
func TestSaveNewPassword ¶
Types ¶
type Manager ¶
type Manager interface {
GetEmail() string
GetPassword(hostname, email string) (string, error)
SavePassword(hostname, email, password string) error
GetSites() ([]Site, error)
Name() string
}
func GetManager ¶
type RegisterFunc ¶
Click to show internal directories.
Click to hide internal directories.