handler

package
v0.0.0-...-1551971 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAdminAccountHandler

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

func (*CreateAdminAccountHandler) ServeHTTP

func (u *CreateAdminAccountHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request)

type CreateUserAccountHandler

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

func (*CreateUserAccountHandler) ServeHTTP

func (u *CreateUserAccountHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request)

type LoginHandler

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

func NewLoginHandler

func NewLoginHandler(l *log.Logger, u repo.UserAccountRepo, tkn token.Service) *LoginHandler

func (*LoginHandler) ServeHTTP

func (login *LoginHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request)

type MiddleWare

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

func NewMiddleWare

func NewMiddleWare(l *log.Logger, tkn token.Service) *MiddleWare

func (*MiddleWare) MW

func (m *MiddleWare) MW(next http.Handler) http.Handler

Jump to

Keyboard shortcuts

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