controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 27 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,
	queryingService *querying.Service,
	userService *user.Service,
)

func RegisterBookmarkTagHandlers

func RegisterBookmarkTagHandlers(
	r *chi.Mux,
	bookmarkService *bookmark.Service,
	queryingService *querying.Service,
)

func RegisterSessionHandlers

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

func RegisterToolsHandlers

func RegisterToolsHandlers(
	r *chi.Mux,
	exportingService *exporting.Service,
	importingService *importing.Service,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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