controller

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2025 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserRememberTokenNBytes     int    = 32
	UserRememberTokenCookieName string = "remember_me"
)

Variables

This section is empty.

Functions

func RegisterAccounthandlers

func RegisterAccounthandlers(
	r *chi.Mux,
	csrfService *csrf.Service,
	userService *user.Service,
)

func RegisterAdminHandlers

func RegisterAdminHandlers(
	r *chi.Mux,
	csrfService *csrf.Service,
	userService *user.Service,
)

func RegisterBookmarkHandlers

func RegisterBookmarkHandlers(
	r *chi.Mux,
	publicURL *url.URL,
	bookmarkService *bookmark.Service,
	csrfService *csrf.Service,
	exportingService *bookmarkexporting.Service,
	importingService *bookmarkimporting.Service,
	queryingService *bookmarkquerying.Service,
	userService *user.Service,
)

func RegisterFeedHandlers

func RegisterFeedHandlers(
	r *chi.Mux,
	csrfService *csrf.Service,
	feedService *feed.Service,
	exportingService *feedexporting.Service,
	importingService *feedimporting.Service,
	queryingService *feedquerying.Service,
	userService *user.Service,
)

RegisterFeedHandlers registers HTTP handlers for syndication feed operations.

func RegisterSessionHandlers

func RegisterSessionHandlers(
	r *chi.Mux,
	sessionService *session.Service,
	userService *user.Service,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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