controller

package
Version: v0.0.0-...-920ada6 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserHandler

func NewUserHandler(e *echo.Echo, middleware *middleware.GoMiddleware, us user.Usecase)

NewUserHandler will initialize the user resources endpoint

Types

type UserHandler

type UserHandler struct {
	UserUsecase user.Usecase
}

UserHandler represent the httphandler for user

func (*UserHandler) GetData

func (h *UserHandler) GetData(c echo.Context) error

GetData will get data by ID

Jump to

Keyboard shortcuts

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