Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestAccount ¶
func TestAccount(t *testing.T, cl *client.Client, emailer *TestEmailer, key *keys.EdX25519Key, email string, registerCode string, username string)
Types ¶
type Env ¶
type Env struct {
// contains filtered or unexported fields
}
func NewEnvWithOptions ¶
func NewEnvWithOptions(t *testing.T, opts *EnvOptions) (*Env, func())
func (*Env) SetEmailer ¶
type EnvOptions ¶
type EnvOptions struct {
// contains filtered or unexported fields
}
type TestEmailer ¶
type TestEmailer struct {
// contains filtered or unexported fields
}
func NewTestEmailer ¶
func NewTestEmailer() *TestEmailer
func (*TestEmailer) SendVerificationEmail ¶
func (t *TestEmailer) SendVerificationEmail(email string, code string) error
func (*TestEmailer) SentVerificationEmail ¶
func (t *TestEmailer) SentVerificationEmail(email string) string
Click to show internal directories.
Click to hide internal directories.