service

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func AsRoute

func AsRoute(f any) any

func BindAndValidate

func BindAndValidate(ctx echo.Context, obj any) error

func Request

func Request(method, path string) (int, string)

Types

type RegisterRouter

type RegisterRouter interface {
	RegisterRouter(s *echo.Group, middlewareFunc ...echo.MiddlewareFunc)
}

func NewUserController added in v1.0.6

func NewUserController(h biz.UserUseCase) RegisterRouter

type UserController added in v1.0.6

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

func (*UserController) Create added in v1.0.6

func (c *UserController) Create(ctx echo.Context) error

func (*UserController) Delete added in v1.0.6

func (c *UserController) Delete(ctx echo.Context) error

func (*UserController) GetByID added in v1.0.6

func (c *UserController) GetByID(ctx echo.Context) error

func (*UserController) ListUsers added in v1.0.6

func (c *UserController) ListUsers(ctx echo.Context) error

func (*UserController) RegisterRouter added in v1.0.6

func (c *UserController) RegisterRouter(g *echo.Group, m ...echo.MiddlewareFunc)

func (*UserController) Update added in v1.0.6

func (c *UserController) Update(ctx echo.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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