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.
Click to show internal directories.
Click to hide internal directories.