handler

package
v0.0.0-...-4b328e9 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type CreateUserRequest

type CreateUserRequest struct {
	Name  string `json:"name"`
	Email string `json:"email"`
}

type Handlers

type Handlers struct {
	Hello *HelloHandler
	User  *UserHandler
}

func NewHandlers

func NewHandlers(hello *HelloHandler, user *UserHandler) *Handlers

type HelloHandler

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

func NewHelloHandler

func NewHelloHandler(logger *zap.Logger) *HelloHandler

func (*HelloHandler) Hello

func (h *HelloHandler) Hello(c *echo.Context) error

type UserHandler

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

func NewUserHandler

func NewUserHandler(userUseCase *biz.UserUseCase, logger *zap.Logger) *UserHandler

func (*UserHandler) CreateUser

func (h *UserHandler) CreateUser(c *echo.Context) error

func (*UserHandler) GetUser

func (h *UserHandler) GetUser(c *echo.Context) error

func (*UserHandler) ListUsers

func (h *UserHandler) ListUsers(c *echo.Context) error

Jump to

Keyboard shortcuts

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