handlers

package
v0.0.0-...-a56b410 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: AGPL-3.0 Imports: 38 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 {
	Router         chi.Router
	Renderer       Renderer
	AuthService    services.AuthService
	UserService    services.UserService
	ClientService  services.ClientService
	SessionManager *scs.SessionManager
	StaticFS       fs.FS
}

func NewHandler

func NewHandler() *Handler

func (*Handler) RegisterRoutes

func (h *Handler) RegisterRoutes()

func (*Handler) ServeHTTP

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

type Renderer

type Renderer interface {
	// contains filtered or unexported methods
}

func NewRenderer

func NewRenderer(htmlFS fs.FS) (Renderer, error)

Jump to

Keyboard shortcuts

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