handler

package
v0.0.0-...-8f6881d Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthHandler

func NewAuthHandler(e *echo.Echo, as service.AuthService)

func NewProductHandler

func NewProductHandler(e *echo.Echo, ps service.ProductService, ts service.TransactionService)

func NewUserHandler

func NewUserHandler(e *echo.Echo, us service.UserService)

Types

type AuthHandler

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

func (*AuthHandler) Login

func (ah *AuthHandler) Login(c echo.Context) error

type UserHandler

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

func (*UserHandler) Create

func (u *UserHandler) Create(c echo.Context) error

func (*UserHandler) ReadAllUser

func (u *UserHandler) ReadAllUser(c echo.Context) error

Jump to

Keyboard shortcuts

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