document

package
v0.0.0-...-a78adbb Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	DocumentServiceClient proto.DocumentServiceClient
}

func NewHandler

func NewHandler(params Params) Handler

func (Handler) GetPDFDocument

func (h Handler) GetPDFDocument(c echo.Context) error

swagger:route GET /documents/{id} documents reqDocumentGetByID

Getting a document by ID

This endpoint returns the document structure

Responses:
  200: Document
  400: HTTPError
  404: HTTPError
  500: HTTPError

type Params

type Params struct {
	fx.In

	DocumentServiceClient proto.DocumentServiceClient
}

Jump to

Keyboard shortcuts

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