http

package
v0.0.0-...-c3897c1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJWTFromBearerToken

func GetJWTFromBearerToken(raw string) (string, error)

Types

type Controller

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

func New

func New(
	store storage.Interface,
	log *zap.Logger,
	cfg *config.Config,
	tokenProvider token.ProviderI,
) (*Controller, error)

func (*Controller) CompareHashes

func (ctrl *Controller) CompareHashes(passReq []byte, passDB []byte) (err error)

func (*Controller) HandleChangePassword

func (ctrl *Controller) HandleChangePassword(c echo.Context) error

func (*Controller) HandleChangeTodo

func (ctrl *Controller) HandleChangeTodo(c echo.Context) error

func (*Controller) HandleCreateColumn

func (ctrl *Controller) HandleCreateColumn(c echo.Context) error

func (*Controller) HandleCreateProject

func (ctrl *Controller) HandleCreateProject(c echo.Context) error

func (*Controller) HandleCreateTodo

func (ctrl *Controller) HandleCreateTodo(c echo.Context) error

func (*Controller) HandleDeleteColumn

func (ctrl *Controller) HandleDeleteColumn(c echo.Context) error

func (*Controller) HandleDeleteProject

func (ctrl *Controller) HandleDeleteProject(c echo.Context) error

func (*Controller) HandleDeleteTodo

func (ctrl *Controller) HandleDeleteTodo(c echo.Context) error

func (*Controller) HandleGetAll

func (ctrl *Controller) HandleGetAll(c echo.Context) error

func (*Controller) HandleGetAllColumn

func (ctrl *Controller) HandleGetAllColumn(c echo.Context) error

func (*Controller) HandleGetAllTodos

func (ctrl *Controller) HandleGetAllTodos(c echo.Context) error

func (*Controller) HandleGetColumnByName

func (ctrl *Controller) HandleGetColumnByName(c echo.Context) error

func (*Controller) HandleGetMe

func (ctrl *Controller) HandleGetMe(c echo.Context) error

func (*Controller) HandleGetMyProject

func (ctrl *Controller) HandleGetMyProject(c echo.Context) error

func (*Controller) HandleGetMyProjectById

func (ctrl *Controller) HandleGetMyProjectById(c echo.Context) error

func (*Controller) HandleGetTodosById

func (ctrl *Controller) HandleGetTodosById(c echo.Context) error

func (*Controller) HandleLogin

func (ctrl *Controller) HandleLogin(c echo.Context) error

func (*Controller) HandleRefreshToken

func (ctrl *Controller) HandleRefreshToken(c echo.Context) error

func (*Controller) HandleRegister

func (ctrl *Controller) HandleRegister(c echo.Context) error

func (*Controller) HandleUpdateColumn

func (ctrl *Controller) HandleUpdateColumn(c echo.Context) error

func (*Controller) HandleUpdateProject

func (ctrl *Controller) HandleUpdateProject(c echo.Context) error

func (*Controller) PasswordToHash

func (ctrl *Controller) PasswordToHash(raw string) ([]byte, error)

func (*Controller) Run

func (ctrl *Controller) Run(ctx context.Context) error

func (*Controller) Shutdown

func (ctrl *Controller) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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