v1

package
v0.0.0-...-0de0edb Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRegistrationHandlers

func NewRegistrationHandlers(v1 *echo.Group, commands CommandBus, logger logger.Logger)

Types

type CommandBus

type CommandBus interface {
	Dispatch(context.Context, core.Command) (any, error)
}

type RegistrationHandlers

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

func (*RegistrationHandlers) Confirm

func (r *RegistrationHandlers) Confirm(c echo.Context) error

Confirm godoc @Summary Confirm registration @Description Confirm registration handler @Tags Registration @Accept json @Produce json @Success 201 @Router /registration [get]

func (*RegistrationHandlers) Create

func (r *RegistrationHandlers) Create(c echo.Context) error

Create godoc @Summary Create registration @Description Create registration handler @Tags Registration @Accept json @Produce json @Success 201 @Router /registration [post] @BasePath /v1

Jump to

Keyboard shortcuts

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