handler

package
v2.3.2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func New

func New() Handler

func (Handler) BindAndValidate

func (h Handler) BindAndValidate(c echo.Context, i interface{}) error

BindAndValidate binds and validates the data struct pointed to by 'i'. It expects a stuct pointer as parameter, since it needs to populate its fields, otherwise it'll panic.

func (Handler) IdempotencyKey added in v2.2.0

func (h Handler) IdempotencyKey(c echo.Context) (ik entity.IdempotencyKey, err error)

type Ride

type Ride struct {
	Handler
	// contains filtered or unexported fields
}

func NewRide

func NewRide(uc usecase.Ride) Ride

func (Ride) Create

func (r Ride) Create(c echo.Context) error

Jump to

Keyboard shortcuts

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