http

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHTTPHandlers

func RegisterHTTPHandlers(e *echo.Echo, uc document.UseCase)

RegisterHTTPHandlers maps the handlers for the document resource use cases

Types

type Handler

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

Handler implements the use case for the document resource

func NewHandler

func NewHandler(uc document.UseCase) *Handler

NewHandler creates a new `Handler` instance for the document use case

func (*Handler) Create

func (h *Handler) Create(c echo.Context) error

Create implements the use case interface

func (*Handler) Get

func (h *Handler) Get(c echo.Context) error

Get implements the use case interface

Jump to

Keyboard shortcuts

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