settings

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendConfirmationEmail

func SendConfirmationEmail(svc infrastructure.EmailService, to, confirmURL string) error

Types

type Handler

type Handler struct {
	DB           *bun.DB
	SQLDB        *sql.DB
	Tokens       *token.Tokens
	BaseURL      string
	EmailService infrastructure.EmailService
}

func NewHandler

func NewHandler(db *bun.DB, sqldb *sql.DB, tokens *token.Tokens, baseURL string, emailSvc infrastructure.EmailService) *Handler

func (*Handler) ConfirmEmail

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

func (*Handler) DeletePost

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

func (*Handler) EmailPost

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

func (*Handler) IndexPage

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

func (*Handler) PasswordPost

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

func (*Handler) ProfilePost

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

func (*Handler) Routes

func (h *Handler) Routes() chi.Router

func (*Handler) ThemePost

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

Jump to

Keyboard shortcuts

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