handlers

package
v0.0.0-...-aad8beb Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Healthcheck

func Healthcheck(echoContext echo.Context) error

Healthcheck is a method that responds only WORKING.

Types

type UserHandler

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

UserHandler is a struct that stores an userRepository.

func NewUserHandler

func NewUserHandler(userRepository repository.UserRepository) *UserHandler

NewUserHandler returns a new pointer of user's struct.

func (UserHandler) CreateUser

func (h UserHandler) CreateUser(echoContext echo.Context) error

CreateUser is a handler that creates a new user into database.

Jump to

Keyboard shortcuts

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