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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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