http

package
v0.0.0-...-7a99dc9 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserHandler

func NewUserHandler(e *echo.Echo, us domain.UserUsecase)

NewUserHandler will initialize the articles/ resources endpoint

Types

type ResponseError

type ResponseError struct {
	Message string `json:"message"`
}

ResponseError represent the reseponse error struct

type UserHandler

type UserHandler struct {
	UserUcase domain.UserUsecase
}

UserHandler represent the httphandler for article

func (*UserHandler) FetchUser

func (a *UserHandler) FetchUser(c echo.Context) error

FetchUser will fetch the article based on given params

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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