handler_user

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserCreateDTO

type UserCreateDTO struct {
	Payload UserCreatePayload `in:"body=json"`
}

type UserCreateHandlerFx

type UserCreateHandlerFx struct {
	UserCreateParamFx
}

func NewUserCreateHandlerFx

func NewUserCreateHandlerFx(p UserCreateParamFx) UserCreateHandlerFx

func (UserCreateHandlerFx) Middleware

func (u UserCreateHandlerFx) Middleware() []echo.MiddlewareFunc

func (UserCreateHandlerFx) Route

func (UserCreateHandlerFx) Route() (method string, path string)

func (UserCreateHandlerFx) Serve

type UserCreateParamFx

type UserCreateParamFx struct {
	fx.In

	UserService service_api.UserServiceAPI
	AuthJWT     *http_middleware_private.AuthJWT
}

type UserCreatePayload

type UserCreatePayload struct {
	Name string `json:"name"`
	Age  int    `json:"age"`
}

type UserGetDetailHandlerFx

type UserGetDetailHandlerFx struct {
	UserGetDetailParamFx
}

func (UserGetDetailHandlerFx) Middleware

func (u UserGetDetailHandlerFx) Middleware() []echo.MiddlewareFunc

func (UserGetDetailHandlerFx) Route

func (UserGetDetailHandlerFx) Route() (method string, path string)

func (UserGetDetailHandlerFx) Serve

type UserGetDetailParamFx

type UserGetDetailParamFx struct {
	fx.In

	UserService service_api.UserServiceAPI
	AuthJWT     *http_middleware_private.AuthJWT
}

Jump to

Keyboard shortcuts

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