mainHttp

package
v0.0.0-...-945c817 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMainHandler

func NewMainHandler(m *mux.Router, private *mux.Router, sanitizer *bluemonday.Policy, logger *zap.SugaredLogger,
	sessionStore sessions.Store, thisToken *token.HashToken, ucase general.Usecase)

Types

type MainHandler

type MainHandler struct {
	// contains filtered or unexported fields
}

func (*MainHandler) HandleCreateUser

func (h *MainHandler) HandleCreateUser(w http.ResponseWriter, r *http.Request)

func (*MainHandler) HandleGetSuggest

func (h *MainHandler) HandleGetSuggest(w http.ResponseWriter, r *http.Request)

func (*MainHandler) HandleGetToken

func (h *MainHandler) HandleGetToken(w http.ResponseWriter, r *http.Request)

func (*MainHandler) HandleLogout

func (h *MainHandler) HandleLogout(w http.ResponseWriter, r *http.Request)

func (*MainHandler) HandleMain

func (h *MainHandler) HandleMain(w http.ResponseWriter, r *http.Request)

func (*MainHandler) HandleSessionCreate

func (h *MainHandler) HandleSessionCreate(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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