document

package
v0.0.0-...-b8a6b6b Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocumentController

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

func NewDocumentController

func NewDocumentController(searchUsecase search.SearchUseCase) *DocumentController

func (*DocumentController) SearchDocuments

func (controller *DocumentController) SearchDocuments(w http.ResponseWriter, r *http.Request)

type RequestSearchDocument

type RequestSearchDocument struct {
	Keywords *[]string `json:"keywords"`
	Mode     string    `json:"mode"`
}

type ReseponseSearchDocument

type ReseponseSearchDocument struct {
	Documents []entities.Document `json:"documents"`
}

Jump to

Keyboard shortcuts

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