login

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2020 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Doer               db.Doer
	SessionStore       sessions.Store
	Store              Store
	LO                 *lockout.Lockout
	Mailer             Sender
	Recipients         []string
	PopularityLookback int
	Global             *common.Global
}

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Sender

type Sender interface {
	Send(email mailer.Email)
}

type Store

type Store interface {
	findb.UpdateUserByNameRunner
	findb.EntriesRunner
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL