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 NewAdminHandler

func NewAdminHandler(e *echo.Echo, middleware *middleware.GoMiddleware, us admin.Usecase)

NewAdminHandler will initialize the admin resources endpoint

Types

type AdminHandler

type AdminHandler struct {
	AdminUsecase admin.Usecase
}

AdminHandler represent the httphandler for admin

func (*AdminHandler) GetData

func (h *AdminHandler) 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