handler

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(logger log.Logger) *Handler

func (*Handler) GetLogger

func (h *Handler) GetLogger() log.Logger

GetLogger returns the logger for use in derived handlers

type UserHandler

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

func NewUserHandler

func NewUserHandler(handler *Handler,
	userService service.UserService,
) *UserHandler

func (*UserHandler) GetUserById

func (h *UserHandler) GetUserById(ctx *gin.Context)

func (*UserHandler) UpdateUser

func (h *UserHandler) UpdateUser(ctx *gin.Context)

Jump to

Keyboard shortcuts

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