handler

package
v0.0.0-...-8851dd1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SessionName        = "MarketPlace"
	CtxKeyUser  ctxKey = iota
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Router *mux.Router
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(service *service.Service, sessionStore sessions.Store) *Handler

func (*Handler) AuthenticateUser

func (h *Handler) AuthenticateUser(next http.Handler) http.Handler

func (*Handler) InitHandler

func (h *Handler) InitHandler()

Jump to

Keyboard shortcuts

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