Documentation
¶
Index ¶
- type MailTransport
- type MemcacheStore
- func (s MemcacheStore) Delete(ctx context.Context, uid string) error
- func (s MemcacheStore) Exists(ctx context.Context, uid string) (bool, time.Time, error)
- func (s MemcacheStore) Store(ctx context.Context, token, uid string, ttl time.Duration) error
- func (s MemcacheStore) Verify(ctx context.Context, token, uid string) (bool, error)
- type XMPPTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MailTransport ¶
type MailTransport struct { // MessageFunc should return a `mail.Message` for the given recipient and // token. MessageFunc func(ctx context.Context, token, user, recipient string) (*mail.Message, error) }
MailTransport sends token messages via the mail service.
type MemcacheStore ¶
type MemcacheStore struct {
KeyPrefix string
}
Click to show internal directories.
Click to hide internal directories.